Commit 66d7ee7e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

Cosmetics/pedanticism

parent 798b0cf1
......@@ -38,7 +38,8 @@ EventWaiter::~EventWaiter()
m_mediaPlayer->unregisterEvents( &EventWaiter::eventsCallback, this );
}
void EventWaiter::add(libvlc_event_type_t event)
void
EventWaiter::add(libvlc_event_type_t event)
{
m_events.push_back( event );
}
......
......@@ -77,7 +77,7 @@ VLCSource::preparse()
m_nbAudioTracks = mediaPlayer->getNbAudioTrack();
//FIXME: handle images with something like m_length = 10000;
m_length = mediaPlayer->getLength();
if ( hasVideo() > 0 )
if ( hasVideo() == true )
{
mediaPlayer->getSize( &m_width, &m_height );
m_fps = mediaPlayer->getFps();
......
......@@ -81,7 +81,6 @@ VLCSourceRenderer::~VLCSourceRenderer()
{
m_mediaPlayer->unregisterEvents( &eventsCallback, this );
delete m_media;
m_media = NULL;
stop();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment