mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 14:18:34 +00:00
win32: Fix non-portable printf format.
This commit is contained in:
parent
da8d4abad2
commit
36bdeea0e7
2 changed files with 11 additions and 7 deletions
|
@ -475,8 +475,9 @@ gst_ffmpegdemux_do_seek (GstFFMpegDemux * demux, GstSegment * segment)
|
|||
}
|
||||
|
||||
GST_DEBUG_OBJECT (demux,
|
||||
"About to call av_seek_frame (context, %d, %lld, 0) for time %"
|
||||
GST_TIME_FORMAT, index, fftarget, GST_TIME_ARGS (target));
|
||||
"About to call av_seek_frame (context, %d, %" G_GINT64_FORMAT
|
||||
", 0) for time %" GST_TIME_FORMAT, index, fftarget,
|
||||
GST_TIME_ARGS (target));
|
||||
|
||||
if ((seekret =
|
||||
av_seek_frame (demux->context, index, fftarget,
|
||||
|
@ -1315,8 +1316,8 @@ gst_ffmpegdemux_loop (GstFFMpegDemux * demux)
|
|||
GST_DEBUG_OBJECT (demux,
|
||||
"pkt pts:%" GST_TIME_FORMAT
|
||||
" / size:%d / stream_index:%d / flags:%d / duration:%" GST_TIME_FORMAT
|
||||
" / pos:%lld", GST_TIME_ARGS (timestamp), pkt.size, pkt.stream_index,
|
||||
pkt.flags, GST_TIME_ARGS (duration), pkt.pos);
|
||||
" / pos:%" G_GINT64_FORMAT, GST_TIME_ARGS (timestamp), pkt.size,
|
||||
pkt.stream_index, pkt.flags, GST_TIME_ARGS (duration), pkt.pos);
|
||||
|
||||
/* check start_time */
|
||||
if (demux->start_time != -1 && demux->start_time > timestamp)
|
||||
|
|
|
@ -104,7 +104,8 @@ gst_ffmpegdata_peek (URLContext * h, unsigned char *buf, int size)
|
|||
g_return_val_if_fail (h->flags == URL_RDONLY, AVERROR_IO);
|
||||
info = (GstProtocolInfo *) h->priv_data;
|
||||
|
||||
GST_DEBUG ("Pulling %d bytes at position %lld", size, info->offset);
|
||||
GST_DEBUG ("Pulling %d bytes at position %" G_GUINT64_FORMAT, size,
|
||||
info->offset);
|
||||
|
||||
ret = gst_pad_pull_range (info->pad, info->offset, (guint) size, &inbuf);
|
||||
|
||||
|
@ -140,7 +141,8 @@ gst_ffmpegdata_read (URLContext * h, unsigned char *buf, int size)
|
|||
|
||||
info = (GstProtocolInfo *) h->priv_data;
|
||||
|
||||
GST_DEBUG ("Reading %d bytes of data at position %lld", size, info->offset);
|
||||
GST_DEBUG ("Reading %d bytes of data at position %" G_GUINT64_FORMAT, size,
|
||||
info->offset);
|
||||
|
||||
res = gst_ffmpegdata_peek (h, buf, size);
|
||||
if (res >= 0)
|
||||
|
@ -250,7 +252,8 @@ gst_ffmpegdata_seek (URLContext * h, int64_t pos, int whence)
|
|||
break;
|
||||
}
|
||||
|
||||
GST_DEBUG ("Now at offset %lld (returning %lld)", info->offset, newpos);
|
||||
GST_DEBUG ("Now at offset %" G_GUINT64_FORMAT " (returning %" G_GUINT64_FORMAT
|
||||
")", info->offset, newpos);
|
||||
return newpos;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue