mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
Fix compiler warnings under OS X.
This commit is contained in:
parent
6d1ceef3a4
commit
7c91fb4cf4
3 changed files with 7 additions and 7 deletions
|
@ -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",
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue