[MPlayer-dev-eng] 0.90-rc4 tomorrow? patches?

Joey Parrish joey at nicewarrior.org
Sat Feb 8 00:19:45 CET 2003


On Fri, Feb 07, 2003 at 10:29:29PM +0100, Arpi wrote:
> any patches i lost?

Not lost, but a new one.  This patch is for demux_gif and fixes a couple
of small issues.

1) codecs.conf changed recently and demux_gif no longer needs to spit
   out BGR8 upside-down.  the workaround for this is removed.
2) fixes a bug so that streaming gifs now works, and removes a
   workaround no longer needed.  see notes below.
3) cosmetic clean-up because i no longer plan to support certain GIF
   extensions that would be more difficult to implement.

Notes on #2:
Streaming GIFs did not work because mplayer makes good use of a cache
and libgif family try to read from fd directly.  The workaround for this
is that I had an lseek line in demux_gif to seek the file back.  Now I
realize the source of the trouble, so I dug through libgif source and
found an undocumented function to allow you to specify your own read
function for libgif to use.  Now, the lseek hack is gone.  The other
advantage is that now libgif uses mplayer's stream_read function and
thus http streaming, etc, works with demux_gif.

Thanks,
--Joey


More information about the MPlayer-dev-eng mailing list