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

Peter Tap ptrtap at yahoo.com
Sat Apr 28 22:01:01 CEST 2012


Just for the information, I am getting the width and height as 0. 


// This method is invoked by VLC at regular intervals

static subpicture_t *Filter( filter_t *p_filter, mtime_t date ) {     
    printf("Width: %d\n", p_filter->fmt_in.video.i_width);
    ...
}

Regards,
Peter




________________________________
 From: Peter Tap <ptrtap at yahoo.com>
To: Mailing list for VLC media player developers <vlc-devel at videolan.org> 
Sent: Saturday, April 28, 2012 12:33 PM
Subject: [vlc-devel] How to obtain the screen and movie dimensions?
 

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.

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/20120428/c472f6b1/attachment.html>


More information about the vlc-devel mailing list