NAME
Video::Xine::Util -- Utility methods for Xine
SYNOPSIS
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());
DESCRIPTION
The Util package provides helper subroutines for gluing Video::Xine to windowing systems.
SUBROUTINES
make_x11_visual()
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.