[vlc-devel] Re: video stream resolution information
jransay at synelec.fr
Fri Oct 8 14:39:40 CEST 2004
Johann Ransay wrote:
> I am looking for a way to obtain a video stream resolution from vlc.
> when typing in the "info" command through the rc interface I get
> Codec information
> Language information
> Type information
> Is this provided by EsOutAddInfo function in src/input/es_out.c ?
> because there exists some code to provide as well with resolution
> but I do not obtain it through the "info" command.
> May be the resolution information is not known at the time EsOutAddInfo
> function is called but could it be possible/reasonable to fill in the
> information at a later time then ?
I am responding to myself with this patch proposal:
As mentioned above, the video stream resolution is not always known when
EsOutAddInfo function (from src/input/es_out.c) is called. Hence the
information is not provided when we issue a query on stream information.
I propose to add a parameter to the es_out_id_t struct to register the
status of the video stream resolution information.
Then, the information is updated in EsOutSend function when it is
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 32794 bytes
Desc: not available
More information about the vlc-devel