From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 273FE4C9C7 for ; Sun, 11 May 2025 19:02:48 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8F86768C2EF; Sun, 11 May 2025 22:02:43 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D7C3568B8A0 for ; Sun, 11 May 2025 22:02:36 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 097CDEB9FF; Sun, 11 May 2025 21:00:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yQmQ9QQ0ltvk; Sun, 11 May 2025 20:59:26 +0200 (CEST) Received: from bluegene.passwd.hu (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id ECDF3EB8C6; Sun, 11 May 2025 20:59:25 +0200 (CEST) From: Marton Balint To: ffmpeg-devel@ffmpeg.org Date: Sun, 11 May 2025 21:01:46 +0200 Message-ID: <20250511190151.29248-1-cus@passwd.hu> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/2] tests/fate/probe: add test for pcm misdetected as mp3 in wav X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marton Balint Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Signed-off-by: Marton Balint --- 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".