NAME

UAV::Pilot::SDL::Video

SYNOPSIS

my $cv = AnyEvent->condvar;
my $sdl_events = UAV::Pilot::SDL::Events->new({
    condvar => $cv,
});
my $display = UAV::Pilot::SDL::Video->new;

my $video   = UAV::Pilot::Video::H264Decoder->new({
    display => $display,
});

$sdl_events->register( $display );

DESCRIPTION

Process raw video frames and displays them to an SDL surface. This does the roles UAV::Pilot::Video::RawHandler and UAV::Pilot::SDL::EventHandler.