Commit 7ef45c9a authored by Edward Hervey's avatar Edward Hervey
Browse files

tests/examples/seek/seek.c: Disable the parse_launch example if core was built...

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.
parent cccfb086
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> 2006-05-08 Edward Hervey <edward@fluendo.com>
   
* autogen.sh: (CONFIGURE_DEF_OPT): * autogen.sh: (CONFIGURE_DEF_OPT):
......
common @ e41606ab
Subproject commit 6b67aa6dd111fb139e1be0f6a386e3ff84cce091 Subproject commit e41606ab2c6a31be473de511b5fd776bd2593b56
...@@ -813,6 +813,7 @@ make_playerbin_pipeline (const gchar * location) ...@@ -813,6 +813,7 @@ make_playerbin_pipeline (const gchar * location)
return player; return player;
} }
#ifndef GST_DISABLE_PARSE
static GstElement * static GstElement *
make_parselaunch_pipeline (const gchar * description) make_parselaunch_pipeline (const gchar * description)
{ {
...@@ -827,6 +828,7 @@ make_parselaunch_pipeline (const gchar * description) ...@@ -827,6 +828,7 @@ make_parselaunch_pipeline (const gchar * description)
return pipeline; return pipeline;
} }
#endif
static gchar * static gchar *
format_value (GtkScale * scale, gdouble value) format_value (GtkScale * scale, gdouble value)
...@@ -1335,7 +1337,9 @@ static Pipeline pipelines[] = { ...@@ -1335,7 +1337,9 @@ static Pipeline pipelines[] = {
{"dv", make_dv_pipeline}, {"dv", make_dv_pipeline},
{"mpeg1nothreads", make_mpegnt_pipeline}, {"mpeg1nothreads", make_mpegnt_pipeline},
{"playerbin", make_playerbin_pipeline}, {"playerbin", make_playerbin_pipeline},
#ifndef GST_DISABLE_PARSE
{"parse-launch", make_parselaunch_pipeline}, {"parse-launch", make_parselaunch_pipeline},
#endif
{NULL, NULL}, {NULL, NULL},
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment