mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
Well, hack to get this RGB thing truely right
Original commit message from CVS: Well, hack to get this RGB thing truely right
This commit is contained in:
parent
3dc2cc00e1
commit
75c76000f1
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue