[vlc-devel] VLC_Die() (was: [PATCH] play-and-exit feature for playlists)

Georgi Chorbadzhiyski gf at unixsol.org
Mon Sep 4 14:11:17 CEST 2006


Clément Stenac wrote:
> I'll merge this with just one change: VLC_Die(0) will only work for the
> first vlc instance in a given process (because it will always kill the
> first one). The correct way to kill yourself is
> p_playlist->p_vlc->b_die, this way, you always kill the correct
> instance.

And what is the correct way to die in modules/codec/ffmpeg/encoder.c after
"almost fed libavcodec with a frame in the ...." message. I need VLC to exit
after this message because it simply loops and either video or audio disappears.

I prefer vlc to die, so I can restart it, instead of streaming bad signal.

-- 
Georgi Chorbadzhiyski
http://georgi.unixsol.org/

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list