[gst-devel] [patch] sample code fix

Alfred E. Heggestad aeh at db.org
Fri Sep 1 01:38:32 CEST 2006


hi

I got a build error when compiling an example from the manual,
in section "Position tracking and seeking".

hopefully the patch below should fix it:


Index: docs/manual/advanced-position.xml
===================================================================
RCS file: /cvs/gstreamer/gstreamer/docs/manual/advanced-position.xml,v
retrieving revision 1.7
diff -u -1 -r1.7 advanced-position.xml
--- docs/manual/advanced-position.xml   30 Jan 2006 21:11:38 -0000      1.7
+++ docs/manual/advanced-position.xml   31 Aug 2006 23:35:28 -0000
@@ -84,3 +84,3 @@
    if (gst_element_query_position (pipeline, &fmt, &pos)
-    & & gst_element_query_duration (pipeline, &fmt, 
&len)) {
+    && gst_element_query_duration (pipeline, &fmt, &len)) {
      g_print ("Time: %" GST_TIME_FORMAT " / %" GST_TIME_FORMAT "\r",





More information about the gstreamer-devel mailing list