From 75c76000f1d9173849f37903027f8e7c6bade284 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 18 Dec 2003 09:27:58 +0000 Subject: [PATCH] Well, hack to get this RGB thing truely right Original commit message from CVS: Well, hack to get this RGB thing truely right --- ext/ffmpeg/gstffmpegcolorspace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/ffmpeg/gstffmpegcolorspace.c b/ext/ffmpeg/gstffmpegcolorspace.c index 0dfce88..381aad8 100644 --- a/ext/ffmpeg/gstffmpegcolorspace.c +++ b/ext/ffmpeg/gstffmpegcolorspace.c @@ -168,7 +168,7 @@ gst_ffmpegcsp_srcconnect_func (GstPad *pad, GstFFMpegCsp *space; GstCaps *peercaps; GstCaps *ourcaps; - + space = GST_FFMPEGCSP (gst_pad_get_parent (pad)); /* we cannot operate if we didn't get src caps */ @@ -281,7 +281,7 @@ gst_ffmpegcsp_sinkconnect (GstPad *pad, if ((peer = gst_pad_get_peer (pad)) != NULL) { GstPadLinkReturn ret; ret = gst_ffmpegcsp_srcconnect_func (pad, - gst_pad_get_allowed_caps (space->srcpad), + gst_pad_get_caps (GST_PAD_PEER (space->srcpad)), FALSE); if (ret <= 0) { space->sinkcaps = NULL; -- 2.7.4