<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Hi Kaarlo,</span></div><div><br><span></span></div><div><span>Thank you very much for your help.</span></div><div><br><span></span></div><div><span>I tried it However, it appears, p_filter->fmt_in.video.i_width, i_height, etc., everything is 0.</span></div><div><br><span></span></div><div><span>I am using version 2.0.1 of vlc. <br></span></div><div><span><br></span></div><div><span>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?<br></span></div><div><br><span></span></div><div><span>Regards,</span></div><div><span>Peter</span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div
 dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Kaarlo Räihä <kaarlo.raiha@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Mailing list for VLC media player developers <vlc-devel@videolan.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Sunday, April 29, 2012 12:03 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [vlc-devel] How to obtain the screen and movie dimensions?<br> </font> </div> <br>
<meta http-equiv="x-dns-prefetch-control" content="off"><div id="yiv603984942"><br><br><div class="yiv603984942gmail_quote">2012/4/28 Peter Tap <span dir="ltr"><<a rel="nofollow" ymailto="mailto:ptrtap@yahoo.com" target="_blank" href="mailto:ptrtap@yahoo.com">ptrtap@yahoo.com</a>></span><br><blockquote class="yiv603984942gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div>Folks,</div><div><br></div><div>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.</div>
</div></div></blockquote><div><br></div><div>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</div><div> </div><blockquote class="yiv603984942gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div style="font-size:12pt;font-family:times new roman, new york, times, serif;"><div><br></div><div>Thank you in advance for your help.</div><div><br></div><div>Regards,</div><div>Peter</div><div><br></div></div></div><br>
_______________________________________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
http://mailman.videolan.org/listinfo/vlc-devel<br>
<br></blockquote></div><br>
</div><meta http-equiv="x-dns-prefetch-control" content="on"><br>_______________________________________________<br>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br><br><br> </div> </div>  </div></body></html>