Commit 3d978262 authored by Christoph Pfister's avatar Christoph Pfister

fix dvd menus with vlc

parent fe956941
......@@ -140,7 +140,7 @@ void VlcMediaWidget::setDeinterlacing(bool deinterlacing)
void VlcMediaWidget::play(const MediaSource &source)
{
addPendingUpdates(PlaybackStatus);
addPendingUpdates(PlaybackStatus | DvdMenu);
QByteArray url = source.getUrl().toEncoded();
playingDvd = false;
......@@ -299,7 +299,9 @@ bool VlcMediaWidget::jumpToNextChapter()
void VlcMediaWidget::showDvdMenu()
{
// FIXME
if (playingDvd) {
libvlc_media_player_set_title(vlcMediaPlayer, 0);
}
}
void VlcMediaWidget::updatePlaybackStatus()
......@@ -333,6 +335,7 @@ void VlcMediaWidget::updatePlaybackStatus()
}
if (playbackStatus == MediaWidget::Idle) {
addPendingUpdates(DvdMenu);
playingDvd = false;
}
}
......
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