summaryrefslogtreecommitdiffstats
path: root/gst-libs
diff options
context:
space:
mode:
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/dshow/gstdshowfakesink.cpp3
-rw-r--r--gst-libs/gst/dshow/gstdshowfakesink.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/dshow/gstdshowfakesink.cpp b/gst-libs/gst/dshow/gstdshowfakesink.cpp
index 58b23718..e3a5f0b9 100644
--- a/gst-libs/gst/dshow/gstdshowfakesink.cpp
+++ b/gst-libs/gst/dshow/gstdshowfakesink.cpp
@@ -22,7 +22,8 @@
#include "gstdshowfakesink.h"
-CDshowFakeSink::CDshowFakeSink():CBaseRenderer(CLSID_DshowFakeSink, "DshowFakeSink", NULL, NULL)
+CDshowFakeSink::CDshowFakeSink()
+ : m_hres(S_OK), CBaseRenderer(CLSID_DshowFakeSink, "DshowFakeSink", NULL, &m_hres)
{
m_callback = NULL;
}
diff --git a/gst-libs/gst/dshow/gstdshowfakesink.h b/gst-libs/gst/dshow/gstdshowfakesink.h
index b53a6898..7f419b27 100644
--- a/gst-libs/gst/dshow/gstdshowfakesink.h
+++ b/gst-libs/gst/dshow/gstdshowfakesink.h
@@ -43,6 +43,7 @@ public:
STDMETHOD (gst_set_sample_size) (unsigned int size);
protected:
+ HRESULT m_hres;
CMediaType m_MediaType;
push_buffer_func m_callback;
byte *m_data;