[gstreamer-bugs] Code example in documentation

Carlos Sanmartin Dominguez csanmartin at igalia.com
Mon Jan 22 05:56:23 PST 2007


Hello,

I've been reading the documentation and I think this could be a little
bug in the written documentation, because I haven't found the method
"gst_element_unref" in the api.


Index: basics-bus.xml
===================================================================
RCS file: /cvs/gstreamer/gstreamer/docs/manual/basics-bus.xml,v
retrieving revision 1.5
diff -u -p -r1.5 basics-bus.xml
--- basics-bus.xml      13 Dec 2006 12:46:28 -0000      1.5
+++ basics-bus.xml      22 Jan 2007 13:02:21 -0000
@@ -126,7 +126,7 @@ main (gint   argc,

   /* clean up */
   gst_element_set_state (pipeline, GST_STATE_NULL);
-  gst_element_unref (pipeline);
+  gst_object_unref (pipeline);
   g_main_loop_unref (loop)

   return 0;





More information about the Gstreamer-bugs mailing list