diff mbox series

[FFmpeg-devel] tests: Add fate-bsf-dv-error-marker

Message ID 20220315183045.15050-1-michael@niedermayer.cc
State New
Headers show
Series [FFmpeg-devel] tests: Add fate-bsf-dv-error-marker | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_aarch64_jetson success Make finished
andriy/make_fate_aarch64_jetson success Make fate finished
andriy/make_armv7_RPi4 success Make finished
andriy/make_fate_armv7_RPi4 success Make fate finished

Commit Message

Michael Niedermayer March 15, 2022, 6:30 p.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 tests/Makefile                     | 1 +
 tests/fate/dvvideo.mak             | 6 ++++++
 tests/ref/fate/bsf-dv-error-marker | 1 +
 3 files changed, 8 insertions(+)
 create mode 100644 tests/fate/dvvideo.mak
 create mode 100644 tests/ref/fate/bsf-dv-error-marker

Comments

James Almer March 15, 2022, 6:35 p.m. UTC | #1
On 3/15/2022 3:30 PM, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>   tests/Makefile                     | 1 +
>   tests/fate/dvvideo.mak             | 6 ++++++
>   tests/ref/fate/bsf-dv-error-marker | 1 +
>   3 files changed, 8 insertions(+)
>   create mode 100644 tests/fate/dvvideo.mak
>   create mode 100644 tests/ref/fate/bsf-dv-error-marker
> 
> diff --git a/tests/Makefile b/tests/Makefile
> index c4c31ae871..9f33394856 100644
> --- a/tests/Makefile
> +++ b/tests/Makefile
> @@ -133,6 +133,7 @@ include $(SRC_PATH)/tests/fate/dfa.mak
>   include $(SRC_PATH)/tests/fate/dnn.mak
>   include $(SRC_PATH)/tests/fate/dnxhd.mak
>   include $(SRC_PATH)/tests/fate/dpcm.mak
> +include $(SRC_PATH)/tests/fate/dvvideo.mak
>   include $(SRC_PATH)/tests/fate/ea.mak
>   include $(SRC_PATH)/tests/fate/exif.mak
>   include $(SRC_PATH)/tests/fate/ffmpeg.mak
> diff --git a/tests/fate/dvvideo.mak b/tests/fate/dvvideo.mak
> new file mode 100644
> index 0000000000..3122a24f76
> --- /dev/null
> +++ b/tests/fate/dvvideo.mak
> @@ -0,0 +1,6 @@
> +
> +fate-bsf-dv-error-marker: CMD = md5 -i $(TARGET_SAMPLES)/dv/dvcprohd_720p50.mov -flags +bitexact -fflags +bitexact -c:v copy -bsf noise=100,dv_error_marker=color=blue -f avi

Add

fate-bsf-dv-error-marker: CMP = oneline
fate-bsf-dv-error-marker: REF = 4e884d3e8045299d0d45ec920fa58a44

So there's no need for the ref file below.

> +FATE_DVVIDEO-$(call ALLYES, MOV_DEMUXER DV_ERROR_MARKER_BSF NOISE_BSF AVI_MUXER) += fate-bsf-dv-error-marker
> +
> +FATE_SAMPLES_FFMPEG += $(FATE_DVVIDEO-yes)
> +fate-dvvideo: $(FATE_DVVIDEO-yes)
> diff --git a/tests/ref/fate/bsf-dv-error-marker b/tests/ref/fate/bsf-dv-error-marker
> new file mode 100644
> index 0000000000..513c9d72a3
> --- /dev/null
> +++ b/tests/ref/fate/bsf-dv-error-marker
> @@ -0,0 +1 @@
> +4e884d3e8045299d0d45ec920fa58a44
Michael Niedermayer March 15, 2022, 9:53 p.m. UTC | #2
On Tue, Mar 15, 2022 at 03:35:08PM -0300, James Almer wrote:
> 
> 
> On 3/15/2022 3:30 PM, Michael Niedermayer wrote:
> > Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> > ---
> >   tests/Makefile                     | 1 +
> >   tests/fate/dvvideo.mak             | 6 ++++++
> >   tests/ref/fate/bsf-dv-error-marker | 1 +
> >   3 files changed, 8 insertions(+)
> >   create mode 100644 tests/fate/dvvideo.mak
> >   create mode 100644 tests/ref/fate/bsf-dv-error-marker
> > 
> > diff --git a/tests/Makefile b/tests/Makefile
> > index c4c31ae871..9f33394856 100644
> > --- a/tests/Makefile
> > +++ b/tests/Makefile
> > @@ -133,6 +133,7 @@ include $(SRC_PATH)/tests/fate/dfa.mak
> >   include $(SRC_PATH)/tests/fate/dnn.mak
> >   include $(SRC_PATH)/tests/fate/dnxhd.mak
> >   include $(SRC_PATH)/tests/fate/dpcm.mak
> > +include $(SRC_PATH)/tests/fate/dvvideo.mak
> >   include $(SRC_PATH)/tests/fate/ea.mak
> >   include $(SRC_PATH)/tests/fate/exif.mak
> >   include $(SRC_PATH)/tests/fate/ffmpeg.mak
> > diff --git a/tests/fate/dvvideo.mak b/tests/fate/dvvideo.mak
> > new file mode 100644
> > index 0000000000..3122a24f76
> > --- /dev/null
> > +++ b/tests/fate/dvvideo.mak
> > @@ -0,0 +1,6 @@
> > +
> > +fate-bsf-dv-error-marker: CMD = md5 -i $(TARGET_SAMPLES)/dv/dvcprohd_720p50.mov -flags +bitexact -fflags +bitexact -c:v copy -bsf noise=100,dv_error_marker=color=blue -f avi
> 
> Add
> 
> fate-bsf-dv-error-marker: CMP = oneline
> fate-bsf-dv-error-marker: REF = 4e884d3e8045299d0d45ec920fa58a44
> 
> So there's no need for the ref file below.

ok will apply with that change

thx

[...]
diff mbox series

Patch

diff --git a/tests/Makefile b/tests/Makefile
index c4c31ae871..9f33394856 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -133,6 +133,7 @@  include $(SRC_PATH)/tests/fate/dfa.mak
 include $(SRC_PATH)/tests/fate/dnn.mak
 include $(SRC_PATH)/tests/fate/dnxhd.mak
 include $(SRC_PATH)/tests/fate/dpcm.mak
+include $(SRC_PATH)/tests/fate/dvvideo.mak
 include $(SRC_PATH)/tests/fate/ea.mak
 include $(SRC_PATH)/tests/fate/exif.mak
 include $(SRC_PATH)/tests/fate/ffmpeg.mak
diff --git a/tests/fate/dvvideo.mak b/tests/fate/dvvideo.mak
new file mode 100644
index 0000000000..3122a24f76
--- /dev/null
+++ b/tests/fate/dvvideo.mak
@@ -0,0 +1,6 @@ 
+
+fate-bsf-dv-error-marker: CMD = md5 -i $(TARGET_SAMPLES)/dv/dvcprohd_720p50.mov -flags +bitexact -fflags +bitexact -c:v copy -bsf noise=100,dv_error_marker=color=blue -f avi
+FATE_DVVIDEO-$(call ALLYES, MOV_DEMUXER DV_ERROR_MARKER_BSF NOISE_BSF AVI_MUXER) += fate-bsf-dv-error-marker
+
+FATE_SAMPLES_FFMPEG += $(FATE_DVVIDEO-yes)
+fate-dvvideo: $(FATE_DVVIDEO-yes)
diff --git a/tests/ref/fate/bsf-dv-error-marker b/tests/ref/fate/bsf-dv-error-marker
new file mode 100644
index 0000000000..513c9d72a3
--- /dev/null
+++ b/tests/ref/fate/bsf-dv-error-marker
@@ -0,0 +1 @@ 
+4e884d3e8045299d0d45ec920fa58a44