X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=remote%2Fqml%2Fpages%2FPlaybackPage.qml;h=daa48dfd31482d0276e0e6434d7a3119e7cbb163;hb=da720f9da0a4d8f1c73a74e1d40726885f3d7f3e;hp=7bf7cc9069ab1f923659b6036070229a50ec83db;hpb=857fbdc12041b7f01f45d4dcf2208f9dccf29294;p=xinema.git diff --git a/remote/qml/pages/PlaybackPage.qml b/remote/qml/pages/PlaybackPage.qml index 7bf7cc9..daa48df 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,27 @@ Page wrapMode: Text.WordWrap } + Column + { + width: parent.width + spacing: Theme.paddingSmall + + StreamInfo + { + text: streamControl.videoSize.width+"×"+streamControl.videoSize.height+" @ "+streamControl.framerate.toFixed(2)+"fps" + } + + StreamInfo + { + text: streamControl.videoCodec + } + + StreamInfo + { + text: streamControl.audioCodec + } + } + Slider { id: slider @@ -80,6 +102,14 @@ Page streamControl.playbackState = StreamControl.Paused; } } + } + + Column + { + width: parent.width + spacing: Theme.paddingLarge + anchors.bottom: page.bottom + anchors.bottomMargin: 2*Theme.paddingLarge ChannelSelect {