2012/4/29 Peter Tap <span dir="ltr"><<a href="mailto:ptrtap@yahoo.com" target="_blank">ptrtap@yahoo.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_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><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></div></blockquote><div><br></div>
<div>At least logo ( <a href="http://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_filter/logo.c">http://git.videolan.org/?p=vlc.git;a=blob;f=modules/video_filter/logo.c</a> ) does the same and p_filter->fmt_in.video.i_width seems to work inside static int Mouse(...</div>
<div> </div><blockquote class="gmail_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><span></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"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Kaarlo Räihä <<a href="mailto:kaarlo.raiha@gmail.com" target="_blank">kaarlo.raiha@gmail.com</a>><div class="im">
<br> <b><span style="font-weight:bold">To:</span></b> Mailing list for VLC media player developers <<a href="mailto:vlc-devel@videolan.org" target="_blank">vlc-devel@videolan.org</a>> <br> </div><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><div><div class="h5"> <br>
<div><br><br><div>2012/4/28 Peter Tap <span dir="ltr"><<a rel="nofollow" href="mailto:ptrtap@yahoo.com" target="_blank">ptrtap@yahoo.com</a>></span><br><blockquote 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 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>
<a href="http://mailman.videolan.org/listinfo/vlc-devel" target="_blank">http://mailman.videolan.org/listinfo/vlc-devel</a><br>
<br></blockquote></div><br>
</div><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> </div>  </div></div><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></blockquote></div><br>