[vlc-devel] How to obtain the screen and movie dimensions?

Kaarlo Räihä kaarlo.raiha at gmail.com
Sun Apr 29 09:03:04 CEST 2012


2012/4/28 Peter Tap <ptrtap at yahoo.com>

> Folks,
>
> 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.
>
> Regards,
> Peter
>
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120429/6ea0601d/attachment.html>


More information about the vlc-devel mailing list