summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2011-08-25 22:48:54 +0200
committerJosep Torra <n770galaxy@gmail.com>2011-08-26 14:11:14 +0200
commit1db007e5bb9dfaba07cd0fdb7a86cd7cb701f650 (patch)
tree1a42f1c869d864c397202b41e5470046cd166fc0
parentb26c5b99f2d93d92c5035d0be69effaef7146a52 (diff)
parse: use GST_PARSE_FLAG_NONE instead of 0
Fixes warning #188: enumerated type mixed with another type reported by ICC.
-rw-r--r--gst/gstparse.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/gstparse.c b/gst/gstparse.c
index 80a169eb0..839d08eaa 100644
--- a/gst/gstparse.c
+++ b/gst/gstparse.c
@@ -223,7 +223,7 @@ _gst_parse_escape (const gchar * str)
GstElement *
gst_parse_launchv (const gchar ** argv, GError ** error)
{
- return gst_parse_launchv_full (argv, NULL, 0, error);
+ return gst_parse_launchv_full (argv, NULL, GST_PARSE_FLAG_NONE, error);
}
/**
@@ -299,7 +299,8 @@ gst_parse_launchv_full (const gchar ** argv, GstParseContext * context,
GstElement *
gst_parse_launch (const gchar * pipeline_description, GError ** error)
{
- return gst_parse_launch_full (pipeline_description, NULL, 0, error);
+ return gst_parse_launch_full (pipeline_description, NULL, GST_PARSE_FLAG_NONE,
+ error);
}
/**