mpegvideoparse: fix compiler warnings

This commit is contained in:
Alessandro Decina 2011-09-12 10:23:19 +02:00
parent 404c18ab18
commit 6e9873038b

View file

@ -236,13 +236,12 @@ gst_mpegv_parse_process_config (GstMpegvParse * mpvparse, GstBuffer * buf,
if (!gst_mpeg_video_parse_sequence_header (&mpvparse->sequencehdr, data, if (!gst_mpeg_video_parse_sequence_header (&mpvparse->sequencehdr, data,
GST_BUFFER_SIZE (buf) - mpvparse->seq_offset, 0)) { GST_BUFFER_SIZE (buf) - mpvparse->seq_offset, 0)) {
GST_DEBUG_OBJECT (mpvparse, GST_DEBUG_OBJECT (mpvparse,
"failed to parse config data (size %" G_GSSIZE_FORMAT ") at offset %d", "failed to parse config data (size %d) at offset %d",
size, mpvparse->seq_offset); size, mpvparse->seq_offset);
return FALSE; return FALSE;
} }
GST_LOG_OBJECT (mpvparse, "accepting parsed config size %" G_GSSIZE_FORMAT, GST_LOG_OBJECT (mpvparse, "accepting parsed config size %d", size);
size);
/* Set mpeg version, and parse sequence extension */ /* Set mpeg version, and parse sequence extension */
if (mpvparse->mpeg_version <= 0) { if (mpvparse->mpeg_version <= 0) {