Commit e98b8241 authored by Edward Hervey's avatar Edward Hervey 🤘 Committed by Edward Hervey
Browse files

adaptivedemux: Fix debugging message

GstSegment position is a guint64 and not a gint64

CID #1409910
parent ff924fbd
...@@ -1447,9 +1447,9 @@ gst_adaptive_demux_stream_in_live_seek_range (GstAdaptiveDemux * demux, ...@@ -1447,9 +1447,9 @@ gst_adaptive_demux_stream_in_live_seek_range (GstAdaptiveDemux * demux,
gint64 range_start, range_stop; gint64 range_start, range_stop;
if (gst_adaptive_demux_get_live_seek_range (demux, &range_start, &range_stop)) { if (gst_adaptive_demux_get_live_seek_range (demux, &range_start, &range_stop)) {
GST_LOG_OBJECT (stream->pad, GST_LOG_OBJECT (stream->pad,
"stream position %" GST_STIME_FORMAT " live seek range %" "stream position %" GST_TIME_FORMAT " live seek range %"
GST_STIME_FORMAT " - %" GST_STIME_FORMAT, GST_STIME_FORMAT " - %" GST_STIME_FORMAT,
GST_STIME_ARGS (stream->segment.position), GST_STIME_ARGS (range_start), GST_TIME_ARGS (stream->segment.position), GST_STIME_ARGS (range_start),
GST_STIME_ARGS (range_stop)); GST_STIME_ARGS (range_stop));
return (stream->segment.position >= range_start return (stream->segment.position >= range_start
&& stream->segment.position <= range_stop); && stream->segment.position <= range_stop);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment