[Ffmpeg-devel] [FWD] [PATCH] immediate decoding of dvd stills

Nico Sabbi nicola_sabbi
Sat Dec 2 15:29:23 CET 2006


Michael Niedermayer wrote:
> Hi
> 
> On Fri, Dec 01, 2006 at 11:10:03PM +0100, Nico Sabbi wrote:

>>sequence header+all sequence_extension headers
>>I frame with temp_ref=0
>>sequence_end
> 
> 
> low_delay=0 for them or? if so then forcing low_delay=1 is not correct
> 
> [...]
> 
sorry, I don't understand what you mean in the last sentence.

Is this patch acceptable?
If the frame ends with a sequence end code && pict_type==I
&& temp_ref==0 then temporarily set low_delay=1.
Before returning restore the original low_delay.
Together with the second patch it works correctly with mplayer.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpeg12still4.diff
Type: text/x-patch
Size: 2901 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061202/c5860855/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mpvideo.diff
Type: text/x-patch
Size: 554 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061202/c5860855/attachment-0001.bin>



More information about the ffmpeg-devel mailing list