[vlc-devel] [PATCH 5/8] qml: Expose recording property

Rohan Rajpal rohan17089 at iiitd.ac.in
Mon Jun 17 16:54:59 CEST 2019


Expose the isRecording property to QML
---
 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:
-- 
2.17.1



More information about the vlc-devel mailing list