mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
mpeg2dec: fix warning in macosx snow leopard
This commit is contained in:
parent
8841ca0a3c
commit
d94bcc1b71
1 changed files with 6 additions and 4 deletions
|
@ -1539,7 +1539,8 @@ gst_mpeg2dec_src_query (GstPad * pad, GstQuery * query)
|
||||||
gst_query_set_position (query, format, cur);
|
gst_query_set_position (query, format, cur);
|
||||||
|
|
||||||
GST_LOG_OBJECT (mpeg2dec,
|
GST_LOG_OBJECT (mpeg2dec,
|
||||||
"position query: we return %llu (format %u)", cur, format);
|
"position query: we return %" G_GUINT64_FORMAT " (format %u)", cur,
|
||||||
|
format);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case GST_QUERY_DURATION:
|
case GST_QUERY_DURATION:
|
||||||
|
@ -1575,8 +1576,8 @@ gst_mpeg2dec_src_query (GstPad * pad, GstQuery * query)
|
||||||
|
|
||||||
/* get the returned format */
|
/* get the returned format */
|
||||||
gst_query_parse_duration (query, &rformat, &total_bytes);
|
gst_query_parse_duration (query, &rformat, &total_bytes);
|
||||||
GST_LOG_OBJECT (mpeg2dec, "peer pad returned total=%lld bytes",
|
GST_LOG_OBJECT (mpeg2dec,
|
||||||
total_bytes);
|
"peer pad returned total=%" G_GINT64_FORMAT " bytes", total_bytes);
|
||||||
|
|
||||||
if (total_bytes != -1) {
|
if (total_bytes != -1) {
|
||||||
if (!gst_mpeg2dec_sink_convert (pad, GST_FORMAT_BYTES, total_bytes,
|
if (!gst_mpeg2dec_sink_convert (pad, GST_FORMAT_BYTES, total_bytes,
|
||||||
|
@ -1589,7 +1590,8 @@ gst_mpeg2dec_src_query (GstPad * pad, GstQuery * query)
|
||||||
gst_query_set_duration (query, format, total);
|
gst_query_set_duration (query, format, total);
|
||||||
|
|
||||||
GST_LOG_OBJECT (mpeg2dec,
|
GST_LOG_OBJECT (mpeg2dec,
|
||||||
"position query: we return %llu (format %u)", total, format);
|
"position query: we return %" G_GUINT64_FORMAT " (format %u)", total,
|
||||||
|
format);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue