You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
tests/fate/probe: add test for pcm misdetected as mp3 in wav
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@ -98,6 +98,10 @@ probefmt(){
|
|||||||
run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries format=format_name -print_format default=nw=1:nk=1 "$@"
|
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(){
|
probeaudiostream(){
|
||||||
run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@"
|
run ffprobe${PROGSUF}${EXECSUF} -bitexact -show_entries stream=codec_name,codec_time_base,sample_fmt,channels,channel_layout:side_data "$@"
|
||||||
}
|
}
|
||||||
|
@ -10,6 +10,9 @@ fate-probe-format-roundup1414: REF = mpeg
|
|||||||
FATE_PROBE_FORMAT-$(CONFIG_DV_DEMUXER) += fate-probe-format-roundup2015
|
FATE_PROBE_FORMAT-$(CONFIG_DV_DEMUXER) += fate-probe-format-roundup2015
|
||||||
fate-probe-format-roundup2015: REF = dv
|
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_PROBE_FORMAT = $(FATE_PROBE_FORMAT-yes)
|
||||||
|
|
||||||
FATE_EXTERN-$(CONFIG_FFPROBE) += $(FATE_PROBE_FORMAT)
|
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): ffprobe$(PROGSSUF)$(EXESUF)
|
||||||
$(FATE_PROBE_FORMAT): CMP = oneline
|
$(FATE_PROBE_FORMAT): CMP = oneline
|
||||||
fate-probe-format-%: CMD = probefmt $(TARGET_SAMPLES)/probe-format/$(@:fate-probe-format-%=%)
|
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-%=%)
|
||||||
|
Reference in New Issue
Block a user