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