[x264-devel] Support --seek for fifos
    Håkan Hjort 
    hakan.hjort at gmail.com
       
    Sun Sep  9 20:04:19 CEST 2007
    
    
  
Hi,
attached is a patch to make --seek work even when the input is a fifo
(or other FILE* that do not support fseek()).  It re-indents some code
so the first part is produced with 'duff -u' to make it easier to see
what has actually changed.  The second part is the actual patch.
It simply changes the code so that if the seek fails then it loops
reading frames until the desired frame is reached.  I modified the yuv
and y4m input methods.
Regards,
Håkan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seek_no_whitespace.diff
Type: text/x-patch
Size: 2004 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20070909/c1cf715c/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: seek.patch
Type: text/x-patch
Size: 4238 bytes
Desc: not available
Url : http://mailman.videolan.org/pipermail/x264-devel/attachments/20070909/c1cf715c/attachment-0001.bin 
    
    
More information about the x264-devel
mailing list