diff --git a/ext/ffmpeg/gstffmpegdec.c b/ext/ffmpeg/gstffmpegdec.c index 37cd48b75c..b20cc975cf 100644 --- a/ext/ffmpeg/gstffmpegdec.c +++ b/ext/ffmpeg/gstffmpegdec.c @@ -1240,8 +1240,7 @@ gst_ffmpegdec_negotiate (GstFFMpegDec * ffmpegdec, gboolean force) no_caps: { GST_ELEMENT_ERROR (ffmpegdec, CORE, NEGOTIATION, (NULL), - ("could not find caps for codec (%s), unknown type", - oclass->in_plugin->name)); + ("could not find caps for codec (), unknown type")); return FALSE; } caps_failed: @@ -1713,7 +1712,7 @@ gst_ffmpegdec_video_frame (GstFFMpegDec * ffmpegdec, GST_DEBUG_OBJECT (ffmpegdec, "ts-handler: pts %" G_GUINT64_FORMAT, out_pts); GST_DEBUG_OBJECT (ffmpegdec, "picture: pts %" G_GUINT64_FORMAT, - ffmpegdec->picture->pts); + (guint64) ffmpegdec->picture->pts); GST_DEBUG_OBJECT (ffmpegdec, "picture: num %d", ffmpegdec->picture->coded_picture_number); GST_DEBUG_OBJECT (ffmpegdec, "picture: ref %d", diff --git a/ext/ffmpeg/gstffmpegdemux.c b/ext/ffmpeg/gstffmpegdemux.c index 80880be288..4c32ea2d9e 100644 --- a/ext/ffmpeg/gstffmpegdemux.c +++ b/ext/ffmpeg/gstffmpegdemux.c @@ -1240,13 +1240,13 @@ gst_ffmpegdemux_open (GstFFMpegDemux * demux) open_failed: { GST_ELEMENT_ERROR (demux, LIBRARY, FAILED, (NULL), - (gst_ffmpegdemux_averror (res))); + ("%s", gst_ffmpegdemux_averror (res))); return FALSE; } no_info: { GST_ELEMENT_ERROR (demux, LIBRARY, FAILED, (NULL), - (gst_ffmpegdemux_averror (res))); + ("%s", gst_ffmpegdemux_averror (res))); return FALSE; } } @@ -1363,7 +1363,7 @@ gst_ffmpegdemux_loop (GstFFMpegDemux * demux) "pkt pts:%" GST_TIME_FORMAT " / size:%d / stream_index:%d / flags:%d / duration:%" GST_TIME_FORMAT " / pos:%" G_GINT64_FORMAT, GST_TIME_ARGS (timestamp), pkt.size, - pkt.stream_index, pkt.flags, GST_TIME_ARGS (duration), pkt.pos); + pkt.stream_index, pkt.flags, GST_TIME_ARGS (duration), (gint64) pkt.pos); /* check start_time */ if (demux->start_time != -1 && demux->start_time > timestamp) diff --git a/ext/ffmpeg/gstffmpegprotocol.c b/ext/ffmpeg/gstffmpegprotocol.c index 6134a3a697..f46ac286c8 100644 --- a/ext/ffmpeg/gstffmpegprotocol.c +++ b/ext/ffmpeg/gstffmpegprotocol.c @@ -184,7 +184,8 @@ gst_ffmpegdata_seek (URLContext * h, int64_t pos, int whence) GstProtocolInfo *info; guint64 newpos = 0; - GST_DEBUG ("Seeking to %" G_GINT64_FORMAT ", whence=%d", pos, whence); + GST_DEBUG ("Seeking to %" G_GINT64_FORMAT ", whence=%d", + (gint64) pos, whence); info = (GstProtocolInfo *) h->priv_data;