summaryrefslogtreecommitdiffstats
path: root/sys/directdraw
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-06-12 10:53:26 +0000
committerJan Schmidt <thaytan@noraisin.net>2009-05-16 01:29:15 +0100
commit21c22dffd96ad9fe6fd62d44cfc91235932b6234 (patch)
treeaa01284d907fb110f3c358c9bcce91c5895bb53b /sys/directdraw
parente191ec4eb4590ca37bf7a9bad7ead6e4b29855a9 (diff)
downloadgst-plugins-bad-21c22dffd96ad9fe6fd62d44cfc91235932b6234.tar.gz
gst-plugins-bad-21c22dffd96ad9fe6fd62d44cfc91235932b6234.tar.bz2
gst-plugins-bad-21c22dffd96ad9fe6fd62d44cfc91235932b6234.zip
[MOVED FROM GOOD] ext/libmms/gstmms.c: Set caps on outgoing buffers.
Original commit message from CVS: * ext/libmms/gstmms.c: (gst_mms_create): Set caps on outgoing buffers. * sys/directdraw/gstdirectdrawsink.c: (gst_directdrawsink_init): Comment out unused global instance variable.
Diffstat (limited to 'sys/directdraw')
-rw-r--r--sys/directdraw/gstdirectdrawsink.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/directdraw/gstdirectdrawsink.c b/sys/directdraw/gstdirectdrawsink.c
index 237ebb9b..58a04c1b 100644
--- a/sys/directdraw/gstdirectdrawsink.c
+++ b/sys/directdraw/gstdirectdrawsink.c
@@ -334,7 +334,9 @@ gst_ddrawsurface_get_type (void)
return _gst_ddrawsurface_type;
}
-static GstDirectDrawSink *global_ddrawsink = NULL;
+/* FIXME: this is problematic if there is more than one sink instance at the
+ * same time, surely there exists a better solution than this? */
+/* static GstDirectDrawSink *global_ddrawsink = NULL; */
/*GType
gst_directdrawsink_get_type (void)
@@ -513,7 +515,7 @@ gst_directdrawsink_init (GstDirectDrawSink * ddrawsink,
ddrawsink->buffer_pool = NULL;
ddrawsink->resize_window = TRUE; /*resize only our internal window to the video size */
- global_ddrawsink = ddrawsink;
+ /* global_ddrawsink = ddrawsink; */
ddrawsink->pool_lock = g_mutex_new ();
}