projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df88b10
)
uridecodebin: Use gst_object_ref instead of g_object_ref
author
Seungha Yang
<seungha@centricular.com>
Tue, 20 Apr 2021 17:02:48 +0000
(
02:02
+0900)
committer
Seungha Yang
<seungha@centricular.com>
Tue, 20 Apr 2021 17:02:48 +0000
(
02:02
+0900)
It's more debugging friendly (tracer for example)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1113>
gst/playback/gsturidecodebin.c
patch
|
blob
|
history
diff --git
a/gst/playback/gsturidecodebin.c
b/gst/playback/gsturidecodebin.c
index
17ea666
..
3837b25
100644
(file)
--- a/
gst/playback/gsturidecodebin.c
+++ b/
gst/playback/gsturidecodebin.c
@@
-1683,7
+1683,7
@@
remove_decoders (GstURIDecodeBin * bin, gboolean force)
gst_element_set_state (decoder, GST_STATE_READY);
/* add it to our list of pending decodebins */
- g_object_ref (decoder);
+ g
st
_object_ref (decoder);
gst_bin_remove (GST_BIN_CAST (bin), decoder);
/* restore some properties we might have changed */
g_object_set (decoder, "sink-caps", NULL, NULL);