[FFmpeg-devel] [PATCH] Fix MPEG-TS seek and frame positions in general

Ivan Schreter schreter
Tue Feb 17 11:24:27 CET 2009


Michael Niedermayer wrote:
>>>>> the time when a frame end/start is detected can be several packets after
>>>>> the point where the first byte of that frame was stored.
>>>>> the obvious way to fix this is to pass pos into av_parser_parse()
>>>>> and reorder it like the timestamps.
>>>>> [...]  
>>>>>           
> av_parser_parse() takes dts & pts currently, it should also take pos and then
> do pretty much the same with pos that it does with dts/pts
>   
av_parser_parse() seems to be an inter-library API. So I cannot simply 
add a new parameter, right? So how do I make it right?

Thanks & regards,

Ivan





More information about the ffmpeg-devel mailing list