Video::Xine::Event::Queue -- Event queue for Xine streams
use Video::Xine; use Video::Xine::Event::Queue; my $queue = Video::Xine::Event::Queue->new($stream); my $event = $queue->get_event();
Video::Xine::Event::Queue->new($stream)
Returns an event queue object.
my $event = $queue->get_event();
Gets an event from the event queue. If there are no events waiting, returns undef.
my $event = $queue->wait_event();
Waits for an event from the event queue, then returns it. Blocks if no events are waiting.
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.