[gstreamermm: 154/167] added setters for timestamps



commit 156fafe5fac0ca337e3bbe6ee7b5be7218e7c3d2
Author: Marcin Kolny at Flytronic.pl <marcin kolny flytronic pl>
Date:   Mon Aug 12 13:17:46 2013 +0200

    added setters for timestamps

 gstreamer/src/buffer.hg |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gstreamer/src/buffer.hg b/gstreamer/src/buffer.hg
index b3b9bd6..c4134ed 100644
--- a/gstreamer/src/buffer.hg
+++ b/gstreamer/src/buffer.hg
@@ -82,7 +82,10 @@ public:
   _WRAP_METHOD(int memcmp(gsize offset, gconstpointer mem, gsize size), gst_buffer_memcmp);
 
   _MEMBER_GET(pts, pts, ClockTime, GstClockTime)
+  _MEMBER_SET(pts, pts, ClockTime, GstClockTime)
+
   _MEMBER_GET(dts, dts, ClockTime, GstClockTime)
+  _MEMBER_SET(dts, dts, ClockTime, GstClockTime)
 
   /** Get duration of this buffer.
    * @return he duration in nanoseconds (as a Gst::ClockTime) of the data in


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]