hlsdemux: Use actual object for logging

i.e. the pad of the stream

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1853>
This commit is contained in:
Edward Hervey 2020-12-03 14:12:06 +01:00 committed by GStreamer Merge Bot
parent 81abc4c825
commit 339ad46b93

View file

@ -1101,7 +1101,7 @@ gst_hls_demux_finish_fragment (GstAdaptiveDemux * demux,
ret = gst_hls_demux_handle_buffer (demux, stream, buf, TRUE);
}
GST_LOG_OBJECT (stream,
GST_LOG_OBJECT (stream->pad,
"Fragment PCRs were %" GST_TIME_FORMAT " to %" GST_TIME_FORMAT,
GST_TIME_ARGS (hls_stream->tsreader.first_pcr),
GST_TIME_ARGS (hls_stream->tsreader.last_pcr));