]> git.tdb.fi Git - xinema.git/blobdiff - remote/qml/pages/PlaybackPage.qml
Display stream size and codecs on the playback page
[xinema.git] / remote / qml / pages / PlaybackPage.qml
index 7bf7cc9069ab1f923659b6036070229a50ec83db..abbd0d84ea95814d6b2eebb1d6a47aafe7731cd2 100644 (file)
@@ -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