mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
decodebin2: Minor debug fix for decodepad
decodedad might have their name changed when exposing, causing a race when trying to get their name without taking a lock. Just use GST_PTR_POINTER in debug statements instead Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3597>
This commit is contained in:
parent
ec2f30c4db
commit
551580482d
1 changed files with 3 additions and 3 deletions
|
@ -5012,7 +5012,7 @@ source_pad_event_probe (GstPad * pad, GstPadProbeInfo * info,
|
|||
GstDecodePad *dpad = user_data;
|
||||
gboolean res = TRUE;
|
||||
|
||||
GST_LOG_OBJECT (pad, "%s dpad:%p", GST_EVENT_TYPE_NAME (event), dpad);
|
||||
GST_LOG_OBJECT (pad, "event %s", GST_EVENT_TYPE_NAME (event));
|
||||
|
||||
if (GST_EVENT_TYPE (event) == GST_EVENT_EOS) {
|
||||
GST_DEBUG_OBJECT (pad, "we received EOS");
|
||||
|
@ -5159,8 +5159,8 @@ gst_decode_pad_query (GstPad * pad, GstObject * parent, GstQuery * query)
|
|||
|
||||
ret = FALSE;
|
||||
GST_DEBUG_OBJECT (dpad->dbin,
|
||||
"calling autoplug-query for %s (element %s): %" GST_PTR_FORMAT,
|
||||
GST_PAD_NAME (dpad), GST_ELEMENT_NAME (delem->element), query);
|
||||
"calling autoplug-query for %" GST_PTR_FORMAT " (element %s): %"
|
||||
GST_PTR_FORMAT, dpad, GST_ELEMENT_NAME (delem->element), query);
|
||||
g_signal_emit (G_OBJECT (dpad->dbin),
|
||||
gst_decode_bin_signals[SIGNAL_AUTOPLUG_QUERY], 0, dpad, delem->element,
|
||||
query, &ret);
|
||||
|
|
Loading…
Reference in a new issue