mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
mpeg4videoparse: fix compiler warnings
This commit is contained in:
parent
c07424ea4e
commit
f4ec523b0a
2 changed files with 8 additions and 4 deletions
|
@ -231,11 +231,13 @@ gst_mpeg4vparse_process_config (GstMpeg4VParse * mp4vparse, const guint8 * data,
|
|||
return TRUE;
|
||||
|
||||
if (!gst_mpeg4_params_parse_config (&mp4vparse->params, data, size)) {
|
||||
GST_DEBUG_OBJECT (mp4vparse, "failed to parse config data (size %d)", size);
|
||||
GST_DEBUG_OBJECT (mp4vparse, "failed to parse config data (size %"
|
||||
G_GSSIZE_FORMAT ")", size);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
GST_LOG_OBJECT (mp4vparse, "accepting parsed config size %d", size);
|
||||
GST_LOG_OBJECT (mp4vparse, "accepting parsed config size %" G_GSSIZE_FORMAT,
|
||||
size);
|
||||
|
||||
/* parsing ok, so accept it as new config */
|
||||
if (mp4vparse->config != NULL)
|
||||
|
|
|
@ -226,11 +226,13 @@ gst_mpegv_parse_process_config (GstMpegvParse * mpvparse, const guint8 * data,
|
|||
return TRUE;
|
||||
|
||||
if (!gst_mpeg_video_params_parse_config (&mpvparse->params, data, size)) {
|
||||
GST_DEBUG_OBJECT (mpvparse, "failed to parse config data (size %d)", size);
|
||||
GST_DEBUG_OBJECT (mpvparse, "failed to parse config data (size %"
|
||||
G_GSSIZE_FORMAT ")", size);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
GST_LOG_OBJECT (mpvparse, "accepting parsed config size %d", size);
|
||||
GST_LOG_OBJECT (mpvparse, "accepting parsed config size %" G_GSSIZE_FORMAT,
|
||||
size);
|
||||
|
||||
/* parsing ok, so accept it as new config */
|
||||
if (mpvparse->config != NULL)
|
||||
|
|
Loading…
Reference in a new issue