- 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:
Wim Taymans 2003-05-30 13:36:04 +00:00
parent 808c52f535
commit a7b3634ddd
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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;
}