X-Git-Url: http://git.tdb.fi/?p=xinema.git;a=blobdiff_plain;f=remote%2Fqml%2Fpages%2FPlaybackPage.qml;fp=remote%2Fqml%2Fpages%2FPlaybackPage.qml;h=7bf7cc9069ab1f923659b6036070229a50ec83db;hp=24817c697e6a4a5cef40bb96d3cf3e11a9bbe9ff;hb=857fbdc12041b7f01f45d4dcf2208f9dccf29294;hpb=a5fc8a4255dabc9d5d514e597a7b19ffd5baf793 diff --git a/remote/qml/pages/PlaybackPage.qml b/remote/qml/pages/PlaybackPage.qml index 24817c6..7bf7cc9 100644 --- a/remote/qml/pages/PlaybackPage.qml +++ b/remote/qml/pages/PlaybackPage.qml @@ -80,6 +80,22 @@ Page streamControl.playbackState = StreamControl.Paused; } } + + ChannelSelect + { + id: audioSelect + label: "Audio" + channels: streamControl.audioChannels + onCurrentChannelChanged: streamControl.currentAudioChannel = currentChannel + } + + ChannelSelect + { + id: spuSelect + label: "Subtitles" + channels: streamControl.spuChannels + onCurrentChannelChanged: streamControl.currentSpuChannel = currentChannel + } } StreamControl @@ -91,5 +107,7 @@ Page if(!slider.down) slider.value = position; } + onCurrentAudioChannelChanged: audioSelect.currentChannel = streamControl.currentAudioChannel; + onCurrentSpuChannelChanged: spuSelect.currentChannel = streamControl.currentSpuChannel; } }