projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59e298a
)
glsinkbin: Use gst_object_ref_sink() for consistency with the video-sink property...
author
Sebastian Dröge
<sebastian@centricular.com>
Thu, 11 Jun 2015 13:17:02 +0000
(15:17 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 11 Jun 2015 13:17:55 +0000
(15:17 +0200)
ext/gl/gstglsinkbin.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglsinkbin.c
b/ext/gl/gstglsinkbin.c
index 1c9649a6092d544e60ab9be2ddb7b9916f5cc2f0..e3aa283d22146e395770174675874d9d747e3768 100644
(file)
--- a/
ext/gl/gstglsinkbin.c
+++ b/
ext/gl/gstglsinkbin.c
@@
-205,8
+205,10
@@
gst_gl_sink_bin_set_property (GObject * object, guint prop_id,
if (self->sink)
gst_bin_remove (GST_BIN (self), self->sink);
self->sink = sink;
- if (sink)
+ if (sink) {
+ gst_object_ref_sink (sink);
_connect_sink_element (self);
+ }
break;
}
case PROP_FORCE_ASPECT_RATIO: