[MPlayer-dev-eng] [PATCH] Another trivial fix for vo_vesa

Aurelien JACOBS aurel at gnuage.org
Wed Mar 26 00:49:58 CET 2003


When I played an mpeg file with vesa:vidix, the mpegpes tried to
initialize first but vidix don't accept it, so the libmpeg2 tried
to initialize, but the vidix was not reinitialized, and when mplayer
tried to play the first frame, it crashed.

This is easily reproducible with any mpeg file :
mplayer -vo vesa:vidix any.mpeg

This was due to a double use of the vidix_name variable. It was used
to store the name of the vidix driver to use, and then it was used
to remember if vidix was opened or not. Introducing a new variable
for this second use just solved the problem.

Aurelien
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vesa-vidix-multicodec.patch
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030326/c3b59d40/attachment.asc>


More information about the MPlayer-dev-eng mailing list