mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
- the result from the getcaps function should be sunken (gst_caps_sink) instead of unreffed. Not sure that's the righ...
Original commit message from CVS: - the result from the getcaps function should be sunken (gst_caps_sink) instead of unreffed. Not sure that's the right thing to do...
This commit is contained in:
parent
808c52f535
commit
a7b3634ddd
2 changed files with 2 additions and 2 deletions
|
@ -198,7 +198,7 @@ gst_tee_getcaps (GstPad *pad, GstCaps *filter)
|
|||
peercaps = gst_pad_get_caps (peer);
|
||||
newcaps = gst_caps_intersect (caps, peercaps);
|
||||
gst_caps_unref (caps);
|
||||
gst_caps_unref (peercaps);
|
||||
gst_caps_sink (peercaps);
|
||||
caps = newcaps;
|
||||
}
|
||||
|
||||
|
|
|
@ -198,7 +198,7 @@ gst_tee_getcaps (GstPad *pad, GstCaps *filter)
|
|||
peercaps = gst_pad_get_caps (peer);
|
||||
newcaps = gst_caps_intersect (caps, peercaps);
|
||||
gst_caps_unref (caps);
|
||||
gst_caps_unref (peercaps);
|
||||
gst_caps_sink (peercaps);
|
||||
caps = newcaps;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue