[Bug 766229] appsrc: Add duration property for providing a duration in TIME format

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Aug 12 14:51:16 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=766229

--- Comment #4 from Philippe Normand <phil at base-art.net> ---
Review of attachment 327594:
 --> (https://bugzilla.gnome.org/review?bug=766229&attachment=327594)

::: gst-libs/gst/app/gstappsrc.c
@@ +960,3 @@
         res = TRUE;
+      } else if (format == GST_FORMAT_TIME) {
+        gst_query_set_duration (query, format, priv->duration);

Shouldn't we check the duration was set to a valid value here? At least
different from GST_CLOCK_TIME_NONE?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list