mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-10 13:51:20 +00:00
basetransform: Don't get the parent twice in the setcaps function
This commit is contained in:
parent
292806f60e
commit
0069dc08ec
1 changed files with 0 additions and 2 deletions
|
@ -1169,8 +1169,6 @@ gst_base_transform_setcaps (GstBaseTransform * trans, GstPad * pad,
|
|||
gboolean ret = TRUE;
|
||||
GstCaps *incaps, *outcaps;
|
||||
|
||||
trans = GST_BASE_TRANSFORM (gst_pad_get_parent (pad));
|
||||
|
||||
otherpad = (pad == trans->srcpad) ? trans->sinkpad : trans->srcpad;
|
||||
otherpeer = gst_pad_get_peer (otherpad);
|
||||
|
||||
|
|
Loading…
Reference in a new issue