[FFmpeg-devel] [PATCH v4 2/4] fate: Overwrite output file in hevc-bsf-mp4toannexb test

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Sep 19 00:39:31 EEST 2019


Am Mi., 18. Sept. 2019 um 23:15 Uhr schrieb Andriy Gelman
<andriy.gelman at gmail.com>:
>
> On Wed, 18. Sep 22:34, Carl Eugen Hoyos wrote:
> > Am Mi., 18. Sept. 2019 um 21:38 Uhr schrieb Andriy Gelman
> > <andriy.gelman at gmail.com>:
> > >
> > > From: Andriy Gelman <andriy.gelman at gmail.com>
> > >
> > > Overwrite tests/data/fate/hevc-bsf-mp4toannexb.out in case it exists.
> > > ---
> > >  tests/fate/hevc.mak | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
> > > index 4f812b0834..b11e209be0 100644
> > > --- a/tests/fate/hevc.mak
> > > +++ b/tests/fate/hevc.mak
> > > @@ -236,7 +236,7 @@ tests/data/hevc-mp4.mov: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
> > >
> > >  FATE_HEVC-$(call ALLYES, HEVC_DEMUXER MOV_DEMUXER HEVC_MP4TOANNEXB_BSF MOV_MUXER HEVC_MUXER) += fate-hevc-bsf-mp4toannexb
> > >  fate-hevc-bsf-mp4toannexb: tests/data/hevc-mp4.mov
> > > -fate-hevc-bsf-mp4toannexb: CMD = md5 -i $(TARGET_PATH)/tests/data/hevc-mp4.mov -c:v copy -fflags +bitexact -f hevc
> > > +fate-hevc-bsf-mp4toannexb: CMD = md5 -y -i $(TARGET_PATH)/tests/data/hevc-mp4.mov -c:v copy -fflags +bitexact -f hevc
> >
> > What is this supposed to fix / how can I reproduce this issue?
>
> If you run fate-hevc-bsf-mp4toannexb and it fails, this leaves an
> output file that's not cleaned up in tests/data/fate/hevc-bsf-mp4toannexb.out.

But this is true for all files created by fate, no?
And make testclean fixes it iirc.

So this should be either changed for all fate targets
where it applies or left as it is imo.

Carl Eugen


More information about the ffmpeg-devel mailing list