[MPlayer-dev-eng] [PATCH]: Fallback to null video codec

Arpi arpi at thot.banki.hu
Fri Jan 10 15:45:03 CET 2003


Hi,

> That was: "[BUG] Audio only playing burns CPU" thread.
not a good subject for that :)

> Take a mpeg-ps file, run "mplayer <file> -vc foobar -vo null" and press
> an arrow key to do the seek. It gets segmentation fault (because there
> is no video demuxer).

ah. i didn't try to seek...

> I know, that user will not probably do such thing, but an application
> shouldn't segafult even when user is doing something stupid :-)

ok i see the problem now.

if you think it's worth to fix :) (imho not...) then make a patch for these
demuxers assuming video is always there (mpeg, avi)

btw i'm planning to drop the whole libmpdemux after 0.90 and restart from
scratch, at least the demuxers (stream layer is imho ok - at least it
isn't my business)


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu


More information about the MPlayer-dev-eng mailing list