hlsdemux: Use actual object for logging
authorEdward Hervey <edward@centricular.com>
Thu, 3 Dec 2020 13:12:06 +0000 (14:12 +0100)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 3 Dec 2020 14:31:17 +0000 (14:31 +0000)
i.e. the pad of the stream

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1853>

ext/hls/gsthlsdemux.c

index 2b10342..f923a26 100644 (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));