Video::Xine::Event::Queue - Event queue for Xine streams


Video-Xine documentation  | view source Contained in the Video-Xine distribution.

Index


NAME

Top

Video::Xine::Event::Queue -- Event queue for Xine streams

SYNOPSIS

Top

  use Video::Xine;
  use Video::Xine::Event::Queue;

  my $queue = Video::Xine::Event::Queue->new($stream);

  my $event = $queue->get_event();

METHODS

Top

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.


Video-Xine documentation  | view source Contained in the Video-Xine distribution.