[vlc-devel] How to obtain video dimensions in a video filter.
ptrtap at yahoo.com
Fri Mar 30 19:38:56 CEST 2012
In my video filter module, I am obtaining the width and height of the video being played as shown here:
static subpicture_t *Filter( filter_t *p_filter, mtime_t date )
int ht = p_filter->fmt_out.video.i_height;
int wd = p_filter->fmt_out.video.i_width;
However, the values that are returned are always 0.
Can someone please tell me what is the right way to obtain the media dimensions?
Thank you in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel