Commit 36609ec1 authored by Christoph Pfister's avatar Christoph Pfister

make dvb playback possible again

parent 332ae4b5
......@@ -309,7 +309,12 @@ void VlcMediaWidget::updatePlaybackStatus()
switch (libvlc_media_player_get_state(vlcMediaPlayer)) {
case libvlc_NothingSpecial:
case libvlc_Stopped:
playbackStatus = MediaWidget::Idle;
// FIXME vlc state is not updated synchronously in libvlc_media_player_play
if (libvlc_media_player_get_media(vlcMediaPlayer) == NULL) {
playbackStatus = MediaWidget::Idle;
case libvlc_Opening:
case libvlc_Buffering:
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