[vlc-commits] qml: Expose recording property

Rohan Rajpal git at videolan.org
Tue Jun 18 10:18:15 CEST 2019


vlc | branch: master | Rohan Rajpal <rohan17089 at iiitd.ac.in> | Mon Jun 17 20:42:59 2019 +0530| [1e5c6684092ac6b689da3fac80d2d155b8bc369f] | committer: Jean-Baptiste Kempf

qml: Expose recording property

Expose the isRecording property to QML

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e5c6684092ac6b689da3fac80d2d155b8bc369f
---

 modules/gui/qt/components/player_controller.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/gui/qt/components/player_controller.hpp b/modules/gui/qt/components/player_controller.hpp
index f1a2533a41..885eba2cd4 100644
--- a/modules/gui/qt/components/player_controller.hpp
+++ b/modules/gui/qt/components/player_controller.hpp
@@ -165,6 +165,7 @@ public:
     Q_PROPERTY(ABLoopState ABloopState READ getABloopState WRITE setABloopState NOTIFY ABLoopStateChanged)
     Q_PROPERTY(VLCTick ABLoopA READ getABLoopA NOTIFY ABLoopAChanged)
     Q_PROPERTY(VLCTick ABLoopB READ getABLoopB NOTIFY ABLoopBChanged)
+    Q_PROPERTY(bool recording READ isRecording WRITE setRecording NOTIFY recordingChanged)
 
     /* exposed actions */
 public slots:



More information about the vlc-commits mailing list