X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=remote%2Fqml%2Fpages%2FPlaybackPage.qml;h=9bca145752dc8d31dc99a1d66a4afcc5b9d26061;hb=1b304d9070bff769e51bf2e3e4727121244e96a5;hp=daa48dfd31482d0276e0e6434d7a3119e7cbb163;hpb=9050978f3b1c47e5dd64380637eb3a430bbe7a4c;p=xinema.git diff --git a/remote/qml/pages/PlaybackPage.qml b/remote/qml/pages/PlaybackPage.qml index daa48df..9bca145 100644 --- a/remote/qml/pages/PlaybackPage.qml +++ b/remote/qml/pages/PlaybackPage.qml @@ -37,16 +37,21 @@ Page StreamInfo { - text: streamControl.videoSize.width+"×"+streamControl.videoSize.height+" @ "+streamControl.framerate.toFixed(2)+"fps" + 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 } }