X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=remote%2Fqml%2Fpages%2FPlaybackPage.qml;h=9bca145752dc8d31dc99a1d66a4afcc5b9d26061;hb=1b304d9070bff769e51bf2e3e4727121244e96a5;hp=7bf7cc9069ab1f923659b6036070229a50ec83db;hpb=857fbdc12041b7f01f45d4dcf2208f9dccf29294;p=xinema.git diff --git a/remote/qml/pages/PlaybackPage.qml b/remote/qml/pages/PlaybackPage.qml index 7bf7cc9..9bca145 100644 --- a/remote/qml/pages/PlaybackPage.qml +++ b/remote/qml/pages/PlaybackPage.qml @@ -1,6 +1,7 @@ import QtQuick 2.0 import Sailfish.Silica 1.0 import fi.mikkosoft.xinema 0.1 +import "../components" Page { @@ -29,6 +30,32 @@ Page wrapMode: Text.WordWrap } + Column + { + width: parent.width + spacing: Theme.paddingSmall + + StreamInfo + { + visible: streamControl.videoSize.width && streamControl.videoSize.height + property string size: streamControl.videoSize.width+"×"+streamControl.videoSize.height + property string fps: " @ "+streamControl.framerate.toFixed(2)+"fps" + text: (streamControl.framerate ? size+fps : size) + } + + StreamInfo + { + visible: streamControl.videoCodec + text: streamControl.videoCodec + } + + StreamInfo + { + visible: streamControl.audioCodec + text: streamControl.audioCodec + } + } + Slider { id: slider @@ -80,6 +107,14 @@ Page streamControl.playbackState = StreamControl.Paused; } } + } + + Column + { + width: parent.width + spacing: Theme.paddingLarge + anchors.bottom: page.bottom + anchors.bottomMargin: 2*Theme.paddingLarge ChannelSelect {