[vlc-devel] [Patch] Sending a signal when a vout is created/destroyed
rafael.carre at gmail.com
Wed Jan 20 18:31:32 CET 2010
Le 20/01/10 17:40, Pierre d'Herbemont a écrit :
> On Jan 20, 2010, at 15:09, Rafaël Carré <rafael.carre at gmail.com> wrote:
>> On Wed, 20 Jan 2010 15:02:05 +0100
>> Rémi Denis-Courmont <remi at remlab.net> wrote:
>>> 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.
>> I have a patch for getting a description of ES of a media (or
>> media_player?), I must find some time to clean it up and send it here
>> before feature freeze.
> I would be interested to see that as well!
Currently it relies on playing the media once with --sout="#description"
so the info is copied into input_item_t->i_es/es
Do you think the function should take a media or a media_player as input ?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 267 bytes
Desc: OpenPGP digital signature
More information about the vlc-devel