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,