Fixed a -Wnull-conversion Clang warning in cap_gstreamer.cpp.

pull/1559/head
Roman Donchenko 11 years ago
parent a1e239d2bf
commit 1817a07a5e
  1. 2
      modules/highgui/src/cap_gstreamer.cpp

@ -134,7 +134,7 @@ protected:
void startPipeline(); void startPipeline();
void stopPipeline(); void stopPipeline();
void restartPipeline(); 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); void removeFilter(const char *filter);
static void newPad(GstElement *myelement, static void newPad(GstElement *myelement,
GstPad *pad, GstPad *pad,

Loading…
Cancel
Save