From 1db007e5bb9dfaba07cd0fdb7a86cd7cb701f650 Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Thu, 25 Aug 2011 22:48:54 +0200 Subject: parse: use GST_PARSE_FLAG_NONE instead of 0 Fixes warning #188: enumerated type mixed with another type reported by ICC. --- gst/gstparse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gst/gstparse.c') diff --git a/gst/gstparse.c b/gst/gstparse.c index 80a169eb0c..839d08eaac 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); } /** -- cgit v1.2.1