diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-12-18 09:27:58 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2003-12-18 09:27:58 +0000 |
commit | 75c76000f1d9173849f37903027f8e7c6bade284 (patch) | |
tree | 6b04b95c8795e4c48e05092fd9ce9bee4c076861 | |
parent | 3dc2cc00e150b52bf6ab4ffb2c508b3f3dbc5ed2 (diff) | |
download | gst-libav-75c76000f1d9173849f37903027f8e7c6bade284.tar.gz |
Well, hack to get this RGB thing truely right
Original commit message from CVS:
Well, hack to get this RGB thing truely right
-rw-r--r-- | ext/ffmpeg/gstffmpegcolorspace.c | 4 |
1 files 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; |