Video::Xine::Util -- Utility methods for Xine
use Video::Xine::Util qw/make_x11_visual make_x11_fs_visual/; my $visual = make_x11_visual ( $x_display, $screen, $window_id, $width, $height, $aspect ); # Get a visual from X11::FullScreen my $display = X11::FullScreen->new(':0'); my $fs_visual = make_x11_fs_visual($display, $display->createWindow());
The Util package provides helper subroutines for gluing Video::Xine to windowing systems.
make_x11_visual($x_display, $screen, $window_id, $width, $height, $aspect)
Returns a C struct suitable for passing to the Video::Xine::Driver::Video constructor with a XINE_VISUAL_TYPE_X11.
To install Video::Xine, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Video::Xine
CPAN shell
perl -MCPAN -e shell install Video::Xine
For more information on module installation, please visit the detailed CPAN module installation guide.