From: Seungha Yang Date: Tue, 20 Apr 2021 17:02:48 +0000 (+0900) Subject: uridecodebin: Use gst_object_ref instead of g_object_ref X-Git-Tag: 1.19.3~511^2~176 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a1816bf3f04622b63e9cb1aba3a3a09c110d9be;p=platform%2Fupstream%2Fgstreamer.git uridecodebin: Use gst_object_ref instead of g_object_ref It's more debugging friendly (tracer for example) Part-of: --- diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index 17ea666..3837b25 100644 --- 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); + 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);