[Gstreamer-bugs] [Bug 134227] New - gst_clock_id_wait_async, wrong return code for default clock

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Thu Feb 12 07:35:43 PST 2004


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=134227

Changed by kost at imn.htwk-leipzig.de.

--- shadow/134227	Thu Feb 12 10:35:43 2004
+++ shadow/134227.tmp.29132	Thu Feb 12 10:35:43 2004
@@ -0,0 +1,34 @@
+Bug#: 134227
+Product: GStreamer
+Version: HEAD CVS
+OS: SunOS
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: kost at imn.htwk-leipzig.de               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: HEAD
+URL: 
+Summary: gst_clock_id_wait_async, wrong return code for default clock
+
+if one uses
+  clock = gst_bin_get_clock (GST_BIN (thread));
+  clockId = gst_clock_new_periodic_id(clock, 0, GST_SECOND*1 );
+  gst_clock_id_wait_async(clockId, &clockFunc, NULL);
+
+then
+  gst_clock_id_wait_async() returns
+  GST_CLOCK_EARLY instead of GST_CLOCK_UNSUPPORTED
+
+when checking the flags of the clock via
+  GST_CLOCK_FLAGS(clock)
+it reports 0
+
+when setting a different clock e.g.
+  gst_bin_use_clock(GST_BIN (thread), gst_system_clock_obtain());
+then 
+  gst_clock_id_wait_async() returns GST_CLOCK_UNSUPPORTED




More information about the Gstreamer-bugs mailing list