[vlc-devel] [Patch] Sending a signal when a vout is created/destroyed

Rémi Denis-Courmont remi at remlab.net
Wed Jan 20 15:02:05 CET 2010


On Wed, 20 Jan 2010 14:35:49 +0100, Hugo Beauzee-Luyssen
<beauze.h at gmail.com> wrote:
> I do agree that it should be none of libvlc's business. However, in
> video.c you have :
> 
> int height;
> vout_thread_t *p_vout = GetVout( p_mi, p_e );
> if( !p_vout ) return 0;

That's a bug. It needs to be fixed, not worked around.
Getting the resolution of a video ES should only depend on the ES, and it
shouldn't assume that there is only one video track.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list