Re: [libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-26 Thread Vladimir Pantelic
John Stebbins wrote: On 08/25/2011 07:45 PM, John Stebbins wrote: As we discussed on IRC this morning, this makes the value of repeat_pict returned by the parsers the same as the value returned by the decoders. The parser was returning a value for repeat_pict that was the actual number of

Re: [libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-26 Thread John Stebbins
Hi, On 08/26/2011 05:48 AM, Vladimir Pantelic wrote: John Stebbins wrote: On 08/25/2011 07:45 PM, John Stebbins wrote: As we discussed on IRC this morning, this makes the value of repeat_pict returned by the parsers the same as the value returned by the decoders. The parser was

Re: [libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-26 Thread Vladimir Pantelic
On 08/26/2011 05:43 PM, John Stebbins wrote: Hi, On 08/26/2011 05:48 AM, Vladimir Pantelic wrote: int ticks = st-st-codec-ticks_per_frame + (ist-st-parser ? ist-st-parser-repeat_pict : 0); Well, after all that, I did some more code reading and spelunking of mailing list archives and

Re: [libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-26 Thread John Stebbins
Hi, On 08/26/2011 12:55 PM, Vladimir Pantelic wrote: On 08/26/2011 05:43 PM, John Stebbins wrote: Hi, On 08/26/2011 05:48 AM, Vladimir Pantelic wrote: int ticks = st-st-codec-ticks_per_frame + (ist-st-parser ? ist-st-parser-repeat_pict : 0); Well, after all that, I did some more code

[libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-25 Thread John Stebbins
As we discussed on IRC this morning, this makes the value of repeat_pict returned by the parsers the same as the value returned by the decoders. The parser was returning a value for repeat_pict that was the actual number of repeats + 1. Passes fate with the exception of 1 pre-existing failure

Re: [libav-devel] [PATCH] make parsers' repeat_pict consistent with decoders

2011-08-25 Thread John Stebbins
On 08/25/2011 07:45 PM, John Stebbins wrote: As we discussed on IRC this morning, this makes the value of repeat_pict returned by the parsers the same as the value returned by the decoders. The parser was returning a value for repeat_pict that was the actual number of repeats + 1.