mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-02 03:06:28 +02:00
1171eab137
Add a parameter that allows to add additional requirements. Also add FILE_PROTOCOL to all the auxiliary functions that use a demuxer. Also fix the requirements for the fate-mpegts-probe-(latm|program) tests. They have misused DEMDEC. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
26 lines
1006 B
Makefile
26 lines
1006 B
Makefile
#
|
|
# Test probing MPEGTS format and codecs
|
|
#
|
|
PROBE_CODEC_NAME_COMMAND = \
|
|
ffprobe$(PROGSSUF)$(EXESUF) -show_entries stream=codec_name \
|
|
-print_format default -bitexact -v 0
|
|
|
|
FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, LOAS_DEMUXER) += fate-mpegts-probe-latm
|
|
fate-mpegts-probe-latm: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts
|
|
fate-mpegts-probe-latm: CMD = run $(PROBE_CODEC_NAME_COMMAND) -i "$(SRC)"
|
|
|
|
|
|
FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, LOAS_DEMUXER) += fate-mpegts-probe-program
|
|
fate-mpegts-probe-program: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts
|
|
fate-mpegts-probe-program: CMD = run $(PROBE_CODEC_NAME_COMMAND) -select_streams p:769:v:0 -i "$(SRC)"
|
|
|
|
|
|
FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS) += fate-mpegts-probe-pmt-merge
|
|
fate-mpegts-probe-pmt-merge: SRC = $(TARGET_SAMPLES)/mpegts/pmtchange.ts
|
|
fate-mpegts-probe-pmt-merge: CMD = run $(PROBE_CODEC_NAME_COMMAND) -merge_pmt_versions 1 -i "$(SRC)"
|
|
|
|
|
|
FATE_SAMPLES_FFPROBE += $(FATE_MPEGTS_PROBE-yes)
|
|
|
|
fate-mpegts: $(FATE_MPEGTS_PROBE-yes)
|