projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e46296
)
Only unref the peer when there is one.
author
Thijs Vermeir
<thijsvermeir@gmail.com>
Thu, 29 Jan 2009 13:08:56 +0000
(14:08 +0100)
committer
Thijs Vermeir
<thijsvermeir@gmail.com>
Thu, 29 Jan 2009 13:08:56 +0000
(14:08 +0100)
gst/videocrop/gstaspectratiocrop.c
patch
|
blob
|
history
diff --git
a/gst/videocrop/gstaspectratiocrop.c
b/gst/videocrop/gstaspectratiocrop.c
index cd59323ad5a12e42cd647973b8e205394cc847ba..6d0ee44bcfa5e548bbeadfc3085fb40eeca74ea1 100644
(file)
--- a/
gst/videocrop/gstaspectratiocrop.c
+++ b/
gst/videocrop/gstaspectratiocrop.c
@@
-392,10
+392,10
@@
gst_aspect_ratio_crop_get_caps (GstPad * pad)
return_caps =
gst_aspect_ratio_crop_transform_caps (aspect_ratio_crop, peer_caps);
gst_caps_unref (peer_caps);
+ gst_object_unref (peer);
}
g_mutex_unlock (aspect_ratio_crop->crop_lock);
- gst_object_unref (peer);
gst_object_unref (aspect_ratio_crop);
return return_caps;