mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
uridecodebin: Use gst_object_ref instead of g_object_ref
It's more debugging friendly (tracer for example) Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1113>
This commit is contained in:
parent
df88b10c7f
commit
3a1816bf3f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
gst_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);
|
||||
|
|
Loading…
Reference in a new issue