summaryrefslogtreecommitdiff
path: root/sys/dshowvideosink
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-05-02 07:56:00 -0700
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-05-07 12:53:26 +0200
commit30c83758c4347b8de5e02fcb4f769db29ebcb154 (patch)
treefb3719b7ec53a95e29ccab31003b3ad917007ef4 /sys/dshowvideosink
parent93ad7a4d06db89bae40ab6bfa5b1b7a2e614d268 (diff)
downloadgstreamer-plugins-bad-30c83758c4347b8de5e02fcb4f769db29ebcb154.tar.gz
dshowvideosink: Fix compilation on x64 platforms
Diffstat (limited to 'sys/dshowvideosink')
-rw-r--r--sys/dshowvideosink/dshowvideosink.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dshowvideosink/dshowvideosink.cpp b/sys/dshowvideosink/dshowvideosink.cpp
index 119962ee3..eb704fcb8 100644
--- a/sys/dshowvideosink/dshowvideosink.cpp
+++ b/sys/dshowvideosink/dshowvideosink.cpp
@@ -30,6 +30,10 @@
#include "windows.h"
+#ifdef _WIN64
+#define GWL_WNDPROC GWLP_WNDPROC
+#endif
+
#define WM_GRAPH_NOTIFY WM_APP + 1 /* Private message */
GST_DEBUG_CATEGORY (dshowvideosink_debug);