From 7ef45c9a7d7ba7740efd2f1c10a0a984fb6b21ea Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Tue, 9 May 2006 11:21:24 +0000 Subject: [PATCH] tests/examples/seek/seek.c: Disable the parse_launch example if core was built without parsing support. Original commit message from CVS: * tests/examples/seek/seek.c: Disable the parse_launch example if core was built without parsing support. --- ChangeLog | 6 ++++++ common | 2 +- tests/examples/seek/seek.c | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b1ac554df9..8fb30a2889 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-09 Edward Hervey + + * tests/examples/seek/seek.c: + Disable the parse_launch example if core was built without parsing + support. + 2006-05-08 Edward Hervey * autogen.sh: (CONFIGURE_DEF_OPT): diff --git a/common b/common index 6b67aa6dd1..e41606ab2c 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 6b67aa6dd111fb139e1be0f6a386e3ff84cce091 +Subproject commit e41606ab2c6a31be473de511b5fd776bd2593b56 diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index a1d1ef424e..f178ec413e 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -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}, };