On Mon,  4 Mar 2013 10:20:47 +0100, Janne Grunau <[email protected]> wrote:
> On 2013-03-04 08:30:23 +0100, Anton Khirnov wrote:
> > 
> > On Sun, 3 Mar 2013 20:02:13 +0100, Janne Grunau <[email protected]> 
> > wrote:
> > > >  
> > > > diff --git a/tests/ref/fate/mpeg2-field-enc 
> > > > b/tests/ref/fate/mpeg2-field-enc
> > > > index 079aae4..d3ef6ba 100644
> > > > --- a/tests/ref/fate/mpeg2-field-enc
> > > > +++ b/tests/ref/fate/mpeg2-field-enc
> > > > @@ -29,4 +29,4 @@
> > > >  0,     129600,     129600,        0,   622080, 0xa45e1d95
> > > >  0,     133200,     133200,        0,   622080, 0x6cc61d6c
> > > >  0,     136800,     136800,        0,   622080, 0x6983b417
> > > > -0,     140400,     140400,        0,   622080, 0x982363c0
> > > > +0,     140400,     140400,        0,   622080, 0xb8fc8ca2
> > > 
> > > why does the fate reference change?
> > 
> > Ah right..the sample is cut, so only a part of the last frame is there. 
> > Since
> > it's encoded as field pictures, ER doesn't work. So the bottom part just has
> > whatever data was in the buffer.
> > 
> > I suppose we could skip that last frame in the test.
> 
> yes
> 
> Janne
> ---8<---
> ---
>  tests/fate/video.mak           | 2 +-
>  tests/ref/fate/mpeg2-field-enc | 1 -
>  2 files changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/tests/fate/video.mak b/tests/fate/video.mak
> index 8ce9d76..30a06f0 100644
> --- a/tests/fate/video.mak
> +++ b/tests/fate/video.mak
> @@ -173,7 +173,7 @@ FATE_SAMPLES_AVCONV-$(call DEMDEC, MVI, MOTIONPIXELS) += 
> fate-motionpixels
>  fate-motionpixels: CMD = framecrc -i 
> $(SAMPLES)/motion-pixels/INTRO-partial.MVI -an -pix_fmt rgb24 -vframes 111
>  
>  FATE_SAMPLES_AVCONV-$(call DEMDEC, MPEGTS, MPEG2VIDEO) += 
> fate-mpeg2-field-enc
> -fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -dct fastint -idct 
> simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an
> +fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -dct fastint -idct 
> simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -vframes 30
>  
>  # FIXME dropped frames in this test because of coarse timebase
>  FATE_NUV += fate-nuv-rtjpeg
> diff --git a/tests/ref/fate/mpeg2-field-enc b/tests/ref/fate/mpeg2-field-enc
> index 079aae4..e302536 100644
> --- a/tests/ref/fate/mpeg2-field-enc
> +++ b/tests/ref/fate/mpeg2-field-enc
> @@ -29,4 +29,3 @@
>  0,     129600,     129600,        0,   622080, 0xa45e1d95
>  0,     133200,     133200,        0,   622080, 0x6cc61d6c
>  0,     136800,     136800,        0,   622080, 0x6983b417
> -0,     140400,     140400,        0,   622080, 0x982363c0
> -- 
> 1.8.1.5
> 

Ok

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to