Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH 1/2] tests/fate/probe: add test for pcm misdetected as mp3 in wav
@ 2025-05-11 19:01 Marton Balint
  2025-05-11 19:01 ` [FFmpeg-devel] [PATCH 2/2] tests/fate/probe: add test for dts " Marton Balint
  2025-05-15 21:29 ` [FFmpeg-devel] [PATCH 1/2] tests/fate/probe: add test for pcm misdetected as mp3 " Marton Balint
  0 siblings, 2 replies; 3+ messages in thread
From: Marton Balint @ 2025-05-11 19:01 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Marton Balint

Signed-off-by: Marton Balint <cus@passwd.hu>
---
 tests/fate-run.sh    | 4 ++++
 tests/fate/probe.mak | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 45dcb6e8dc..5d904ab8bf 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -98,6 +98,10 @@ probefmt(){
     run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries format=format_name -print_format default=nw=1:nk=1 "$@"
 }
 
+probecodec(){
+    run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name -print_format default=nw=1:nk=1 "$@"
+}
+
 probeaudiostream(){
     run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@"
 }
diff --git a/tests/fate/probe.mak b/tests/fate/probe.mak
index 4be9356f5f..6faafb7e37 100644
--- a/tests/fate/probe.mak
+++ b/tests/fate/probe.mak
@@ -10,6 +10,9 @@ fate-probe-format-roundup1414: REF = mpeg
 FATE_PROBE_FORMAT-$(CONFIG_DV_DEMUXER) += fate-probe-format-roundup2015
 fate-probe-format-roundup2015: REF = dv
 
+FATE_PROBE_FORMAT-$(CONFIG_WAV_DEMUXER) += fate-probe-format-codec-trac11581
+fate-probe-format-codec-trac11581: REF = pcm_s16le
+
 FATE_PROBE_FORMAT = $(FATE_PROBE_FORMAT-yes)
 
 FATE_EXTERN-$(CONFIG_FFPROBE) += $(FATE_PROBE_FORMAT)
@@ -18,3 +21,4 @@ fate-probe-format: $(FATE_PROBE_FORMAT)
 $(FATE_PROBE_FORMAT): ffprobe$(PROGSSUF)$(EXESUF)
 $(FATE_PROBE_FORMAT): CMP = oneline
 fate-probe-format-%: CMD = probefmt $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%)
+fate-probe-format-codec-%: CMD = probecodec $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%)
-- 
2.43.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-15 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-11 19:01 [FFmpeg-devel] [PATCH 1/2] tests/fate/probe: add test for pcm misdetected as mp3 in wav Marton Balint
2025-05-11 19:01 ` [FFmpeg-devel] [PATCH 2/2] tests/fate/probe: add test for dts " Marton Balint
2025-05-15 21:29 ` [FFmpeg-devel] [PATCH 1/2] tests/fate/probe: add test for pcm misdetected as mp3 " Marton Balint

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git