From 1817a07a5e7c84ecfb95751381aac6ea8a87d618 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Thu, 3 Oct 2013 12:11:50 +0400 Subject: [PATCH] Fixed a -Wnull-conversion Clang warning in cap_gstreamer.cpp. --- modules/highgui/src/cap_gstreamer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/highgui/src/cap_gstreamer.cpp b/modules/highgui/src/cap_gstreamer.cpp index 4d4dc711b..2aec14c4a 100644 --- a/modules/highgui/src/cap_gstreamer.cpp +++ b/modules/highgui/src/cap_gstreamer.cpp @@ -134,7 +134,7 @@ protected: void startPipeline(); void stopPipeline(); void restartPipeline(); - void setFilter(const char* prop, int type, int v1, int v2 = NULL); + void setFilter(const char* prop, int type, int v1, int v2 = 0); void removeFilter(const char *filter); static void newPad(GstElement *myelement, GstPad *pad,