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.
This commit is contained in:
Edward Hervey 2006-05-09 11:21:24 +00:00
parent cccfb086bc
commit 7ef45c9a7d
3 changed files with 11 additions and 1 deletions

View file

@ -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):

2
common

@ -1 +1 @@
Subproject commit 6b67aa6dd111fb139e1be0f6a386e3ff84cce091
Subproject commit e41606ab2c6a31be473de511b5fd776bd2593b56

View 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},
};