diff options
author | Seungha Yang <seungha@centricular.com> | 2022-01-13 23:00:41 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2022-01-18 00:31:56 +0000 |
commit | 96d4190f09ad76055350f1784ac01278c814b903 (patch) | |
tree | 6556f99a612cf90d54a978070bac41100bf0b140 | |
parent | 471173244f77fe1b32f612da81867c2419dcca2a (diff) | |
download | gstreamer-plugins-base-96d4190f09ad76055350f1784ac01278c814b903.tar.gz |
uridecodebin: Fix critical warnings
Don't pass non-GstObject object to there.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1290>
-rw-r--r-- | gst/playback/gsturidecodebin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index f4d9f59c0..d6fb90eaa 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -2607,7 +2607,7 @@ decoder_query_duration_fold (const GValue * item, GValue * ret, gst_query_parse_duration (fold->query, NULL, &duration); - GST_DEBUG_OBJECT (item, "got duration %" G_GINT64_FORMAT, duration); + GST_DEBUG_OBJECT (pad, "got duration %" G_GINT64_FORMAT, duration); if (duration > fold->max) fold->max = duration; @@ -2640,7 +2640,7 @@ decoder_query_position_fold (const GValue * item, GValue * ret, gst_query_parse_position (fold->query, NULL, &position); - GST_DEBUG_OBJECT (item, "got position %" G_GINT64_FORMAT, position); + GST_DEBUG_OBJECT (pad, "got position %" G_GINT64_FORMAT, position); if (position > fold->max) fold->max = position; @@ -2720,7 +2720,7 @@ decoder_query_seeking_fold (const GValue * item, GValue * ret, QueryFold * fold) g_value_set_boolean (ret, TRUE); gst_query_parse_seeking (fold->query, NULL, &seekable, NULL, NULL); - GST_DEBUG_OBJECT (item, "got seekable %d", seekable); + GST_DEBUG_OBJECT (pad, "got seekable %d", seekable); if (fold->seekable) fold->seekable = seekable; @@ -2749,7 +2749,7 @@ decoder_query_generic_fold (const GValue * item, GValue * ret, QueryFold * fold) if ((res = gst_pad_query (pad, fold->query))) { g_value_set_boolean (ret, TRUE); - GST_DEBUG_OBJECT (item, "answered query %p", fold->query); + GST_DEBUG_OBJECT (pad, "answered query %p", fold->query); } /* and stop as soon as we have a valid result */ |