diff options
author | Mauricio Piacentini <mauricio.piacentini@collabora.co.uk> | 2010-10-22 11:23:17 -0200 |
---|---|---|
committer | Mauricio Piacentini <mauricio.piacentini@collabora.co.uk> | 2010-10-22 11:23:17 -0200 |
commit | 31969c5ab640fd97b2381d248171a82207819947 (patch) | |
tree | e01e980dc322ce185d810f504268455bfb5c578f /src/QGst/element.cpp | |
parent | 833049fba6745827cf0705a8733acafc125235a9 (diff) |
QGstClock reviewed
Diffstat (limited to 'src/QGst/element.cpp')
-rw-r--r-- | src/QGst/element.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/QGst/element.cpp b/src/QGst/element.cpp index 22c8327..e72c7fa 100644 --- a/src/QGst/element.cpp +++ b/src/QGst/element.cpp @@ -117,10 +117,10 @@ void Element::query(const QueryPtr & query) gst_element_query(object<GstElement>(), query); } -ClockPtr Element::clock() +ClockPtr Element::clock() const { if (gst_element_provides_clock(object<GstElement>())) { - return ClockPtr::wrap(gst_element_get_clock(object<GstElement>())); + return ClockPtr::wrap(gst_element_get_clock(object<GstElement>()), false); } else { return ClockPtr(); } |