]> 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 bf1d976c0b382eccc18a14dbc844ea9dac388633..abbd0d84ea95814d6b2eebb1d6a47aafe7731cd2 100644 (file)
@@ -30,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