<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Folks,</div><div><br></div><div>In my video filter module, I am obtaining the width and height of the video being played as shown here:<br></div><div><br></div><div>static subpicture_t *Filter( filter_t *p_filter, mtime_t date )<br>{<br></div><div>    int ht = p_filter->fmt_out.video.i_height;<br>    int wd = p_filter->fmt_out.video.i_width;</div><div>    ,..</div><div>}</div><div><br></div><div>However, the values that are returned are always 0.</div><div><br></div><div>Can someone please tell me what is the right way to obtain the media dimensions?</div><div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Regards,</div><div>Peter</div></div></body></html>