[MPlayer-dev-eng] [PATCH] dvb fix

David Kuehling dvdkhlng at gmx.de
Mon Aug 25 16:39:30 CEST 2003


Hi,

tracked yet another bug with DVB input.  When zapping, uninit_player()
is called in mplayer.c:2880 and mplayer.c:2909.  Then the code jumps
directly to goto_open_demuxer.  This step ommits the re-initialization
of mp_input_init.  Makes my LIRC input crash after zapping once.

Fix:  call uninit_player with correct bitmask:

	  uninit_player(INITED_ALL-(INITED_STREAM)-(INITED_INPUT));

patch attached.

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dvb-fix1-20030825.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030825/cd9f73ee/attachment.asc>


More information about the MPlayer-dev-eng mailing list