tests/examples/seek/seek.c: Disable the parse_launch example if core was built withou...
authorEdward Hervey <bilboed@bilboed.com>
Tue, 9 May 2006 11:21:24 +0000 (11:21 +0000)
committerEdward Hervey <bilboed@bilboed.com>
Tue, 9 May 2006 11:21:24 +0000 (11:21 +0000)
Original commit message from CVS:
* tests/examples/seek/seek.c:
Disable the parse_launch example if core was built without parsing
support.

ChangeLog
common
tests/examples/seek/seek.c

index b1ac554..8fb30a2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-05-09  Edward Hervey  <edward@fluendo.com>
+
+       * tests/examples/seek/seek.c:
+       Disable the parse_launch example if core was built without parsing
+       support.
+
 2006-05-08  Edward Hervey  <edward@fluendo.com>
 
        * autogen.sh: (CONFIGURE_DEF_OPT): 
diff --git a/common b/common
index 6b67aa6..e41606a 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 6b67aa6dd111fb139e1be0f6a386e3ff84cce091
+Subproject commit e41606ab2c6a31be473de511b5fd776bd2593b56
index a1d1ef4..f178ec4 100644 (file)
@@ -813,6 +813,7 @@ make_playerbin_pipeline (const gchar * location)
   return player;
 }
 
+#ifndef GST_DISABLE_PARSE
 static GstElement *
 make_parselaunch_pipeline (const gchar * description)
 {
@@ -827,6 +828,7 @@ make_parselaunch_pipeline (const gchar * description)
 
   return pipeline;
 }
+#endif
 
 static gchar *
 format_value (GtkScale * scale, gdouble value)
@@ -1335,7 +1337,9 @@ static Pipeline pipelines[] = {
   {"dv", make_dv_pipeline},
   {"mpeg1nothreads", make_mpegnt_pipeline},
   {"playerbin", make_playerbin_pipeline},
+#ifndef GST_DISABLE_PARSE
   {"parse-launch", make_parselaunch_pipeline},
+#endif
   {NULL, NULL},
 };