From 3e5431bbcbc21a2299083962cd1075dc76febb89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 12 Jun 2006 10:53:26 +0000 Subject: 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. --- ext/libmms/gstmms.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/libmms') diff --git a/ext/libmms/gstmms.c b/ext/libmms/gstmms.c index bbb9ca8a..df5555c4 100644 --- a/ext/libmms/gstmms.c +++ b/ext/libmms/gstmms.c @@ -262,6 +262,8 @@ gst_mms_create (GstPushSrc * psrc, GstBuffer ** buf) GST_DEBUG ("Returning buffer with offset %" G_GINT64_FORMAT " and size %u", GST_BUFFER_OFFSET (*buf), GST_BUFFER_SIZE (*buf)); + gst_buffer_set_caps (*buf, GST_PAD_CAPS (GST_BASE_SRC_PAD (mmssrc))); + return GST_FLOW_OK; eos: -- cgit v1.2.1