parse: use GST_PARSE_FLAG_NONE instead of 0
authorJosep Torra <n770galaxy@gmail.com>
Thu, 25 Aug 2011 20:48:54 +0000 (22:48 +0200)
committerJosep Torra <n770galaxy@gmail.com>
Fri, 26 Aug 2011 12:11:14 +0000 (14:11 +0200)
Fixes warning #188: enumerated type mixed with another type reported by ICC.

gst/gstparse.c

index 80a169e..839d08e 100644 (file)
@@ -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);
 }
 
 /**