diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-04-23 08:28:06 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-04-23 08:28:06 +0300 |
commit | c0d68d03a690d2760c03615f70c241ac1436188b (patch) | |
tree | bfddcb11bee4187bdceae17b4b34b14733377072 | |
parent | 4d3b8d1129d8b863e4156cd0334e93257b9d0cc4 (diff) | |
download | gstreamer-plugins-good-c0d68d03a690d2760c03615f70c241ac1436188b.tar.gz |
matroskamux: Don't pass a non-GObject pointer to GST_DEBUG_OBJECT and similar
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/964>
-rw-r--r-- | gst/matroska/matroska-mux.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c index c18bd9af5..09edfa6da 100644 --- a/gst/matroska/matroska-mux.c +++ b/gst/matroska/matroska-mux.c @@ -3637,11 +3637,12 @@ gst_matroska_mux_finish (GstMatroskaMux * mux) GST_CLOCK_TIME_IS_VALID (collect_pad->end_ts)) { collected_duration = GST_CLOCK_DIFF (collect_pad->start_ts, collect_pad->end_ts); - GST_DEBUG_OBJECT (collect_pad, + GST_DEBUG_OBJECT (collect_pad->collect.pad, "final track duration: %" GST_TIME_FORMAT, GST_TIME_ARGS (collected_duration)); } else { - GST_WARNING_OBJECT (collect_pad, "unable to get final track duration"); + GST_WARNING_OBJECT (collect_pad->collect.pad, + "unable to get final track duration"); } if (GST_CLOCK_TIME_IS_VALID (collected_duration) && duration < collected_duration) |