[vlc-devel] How to obtain the screen and movie dimensions?
ptrtap at yahoo.com
Sun Apr 29 10:22:28 CEST 2012
Thank you very much for your help.
I tried it However, it appears, p_filter->fmt_in.video.i_width, i_height, etc., everything is 0.
I am using version 2.0.1 of vlc.
The category for my module is CAT_VIDEO and subcategory is SUBCAT_VIDEO_SUBPIC. Is it possible that this subcategory gets a dummy fmt_in object?
From: Kaarlo Räihä <kaarlo.raiha at gmail.com>
To: Mailing list for VLC media player developers <vlc-devel at videolan.org>
Sent: Sunday, April 29, 2012 12:03 AM
Subject: Re: [vlc-devel] How to obtain the screen and movie dimensions?
2012/4/28 Peter Tap <ptrtap at yahoo.com>
>In my video filter module, I need to obtain the screen width and height as well as the movie width and height (based on the selected aspect ratio). I am wondering if someone can guide me or point me in the right direction on how to obtain this information.
You can find video_format_t definition in include\vlc_es.h, it contains width, height etc. You can access e.g. width via p_filter->fmt_in.video.i_width
>Thank you in advance for your help.
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
vlc-devel mailing list
To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel