summaryrefslogtreecommitdiff
path: root/sys/mediafoundation/gstmfcapturewinrt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mediafoundation/gstmfcapturewinrt.cpp')
-rw-r--r--sys/mediafoundation/gstmfcapturewinrt.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/mediafoundation/gstmfcapturewinrt.cpp b/sys/mediafoundation/gstmfcapturewinrt.cpp
index c98ff78d1..8ff25292c 100644
--- a/sys/mediafoundation/gstmfcapturewinrt.cpp
+++ b/sys/mediafoundation/gstmfcapturewinrt.cpp
@@ -307,7 +307,8 @@ gst_mf_capture_winrt_stop (GstMFSourceObject * object)
hr = self->capture->StopCapture();
while (!g_queue_is_empty (self->queue)) {
- IMFMediaBuffer *buffer = (IMFMediaBuffer *) g_queue_pop_head (self->queue);
+ ISoftwareBitmap *buffer =
+ (ISoftwareBitmap *) g_queue_pop_head (self->queue);
buffer->Release ();
}