Commit 75c76000 authored by Ronald S. Bultje's avatar Ronald S. Bultje

Well, hack to get this RGB thing truely right

Original commit message from CVS:
Well, hack to get this RGB thing truely right
parent 3dc2cc00
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment