Commit 3a1816bf authored by Seungha Yang's avatar Seungha Yang

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>
parent df88b10c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment