[MPlayer-dev-eng] [PATCH] stdin broken with seek in http-streams patch

eviv bulgroz ebulgroz at yahoo.com
Sun Feb 22 11:45:18 CET 2004


Hi
Here a second version that works also properly with msmpg4v1/divx3/divx4 files

--- eviv bulgroz <ebulgroz at yahoo.com> wrote:
> When reading from non-seekable source streams (stdin) mplayer/mencoder is now broken with the
> latest "Seek in http-streams" patch. Try:
> 
> cat myovie | mplayer - 
> 
> Since STREAM_SEEK is defined as:
> stream.h:37:#define STREAM_SEEK  (STREAM_SEEK_BW|STREAM_SEEK_FW)
> 
> and STREAM_SEEK_FW is set for stdin streams:
> stream_file.c:113:    stream->flags |= STREAM_SEEK_FW;
> 
> it is necessary to check for STREAM_SEEK_BW instead of STREAM_SEEK when forcing index_mode=-2
> (reading from non-seekable source (stdin)).
> 
> Please apply the following patch:
> 

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stdinfix.diff
Type: text/x-diff
Size: 1838 bytes
Desc: stdinfix.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040222/96b8dc2c/attachment.diff>


More information about the MPlayer-dev-eng mailing list