mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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.
This commit is contained in:
parent
8acd6050ef
commit
24a32fbceb
1 changed files with 4 additions and 2 deletions
|
@ -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 ();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue