mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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>
This commit is contained in:
parent
4d3b8d1129
commit
c0d68d03a6
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue