summaryrefslogtreecommitdiffstats
path: root/src/gsttools/qgstreamerbufferprobe_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gsttools/qgstreamerbufferprobe_p.h')
-rw-r--r--src/gsttools/qgstreamerbufferprobe_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gsttools/qgstreamerbufferprobe_p.h b/src/gsttools/qgstreamerbufferprobe_p.h
index 35644f934..2dda73e40 100644
--- a/src/gsttools/qgstreamerbufferprobe_p.h
+++ b/src/gsttools/qgstreamerbufferprobe_p.h
@@ -83,12 +83,12 @@ private:
#if GST_CHECK_VERSION(1,0,0)
static GstPadProbeReturn capsProbe(GstPad *pad, GstPadProbeInfo *info, gpointer user_data);
static GstPadProbeReturn bufferProbe(GstPad *pad, GstPadProbeInfo *info, gpointer user_data);
- int m_capsProbeId;
+ int m_capsProbeId = -1;
#else
static gboolean bufferProbe(GstElement *element, GstBuffer *buffer, gpointer user_data);
- GstCaps *m_caps;
+ GstCaps *m_caps = nullptr;
#endif
- int m_bufferProbeId;
+ int m_bufferProbeId = -1;
const Flags m_flags;
};