[MPlayer-dev-eng] [PATCH] dvb input fixes
Arpi
arpi at thot.banki.hu
Sun Sep 7 01:05:54 CEST 2003
Hi,
> >and who the hell will close/kill/free the previous cache process???
> >
> >
> >
>
> dvb_set_channel() calls cache_uninit()
hmm
> if(priv->is_on) //the fds are already open and we have to stop the demuxers
> {
> dvb_demux_stop(priv->demux_fd[0]);
> dvb_demux_stop(priv->demux_fd[1]);
> priv->retry = 1;
> while(dvb_streaming_read(stream, buf, 4096) > 0);
> //empty both the stream's and driver's
> buffers
> cache_uninit(stream);
if you're calling cache_uninit(), then the previous line is unneeded, to
drop cached data.
>
> is it the wrong place?
probably it would be cleaner to call from mplayer.c, just before the goto to
the cache re-init.
A'rpi / Astral & ESP-team
--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list