Page 1 of 1

Accessing the Video Elementary stream from a decoder[Solved]

Posted: 05 Dec 2008 20:46
by SunnySingh
Hi,
I am building a decoder and need to get the video resolution from the video elementary stream.
Would there be a way of accessing the video elementary stream from the decoder module (like using vlc_object_find ?)
Regards,
Sunny :?:

Re: How can I access the Video Elementary stream from a decoder

Posted: 05 Dec 2008 21:47
by Jean-Baptiste Kempf
Should the demux provide this info?

Re: How can I access the Video Elementary stream from a decoder

Posted: 06 Dec 2008 01:21
by SunnySingh
Thanks for the quick response j-b

The info is available in the demuxer; however, since my decoder is a dll, did not have direct access to the video buffer/track.
Resolved this by using: vlc_object_find( p_dec, VLC_OBJECT_VOUT, FIND_ANYWHERE )