mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
Some compiler warning fixes to satisfy XCode compiler
https://bugzilla.gnome.org/show_bug.cgi?id=720513
This commit is contained in:
parent
47d5c2b6d6
commit
4cc981de37
2 changed files with 2 additions and 1 deletions
|
@ -1712,6 +1712,7 @@ gst_ffmpeg_codecid_to_caps (enum CodecID codec_id,
|
|||
format = GST_AUDIO_FORMAT_U8;
|
||||
break;
|
||||
default:
|
||||
format = 0;
|
||||
g_assert (0); /* don't worry, we never get here */
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -289,7 +289,7 @@ gst_ffmpegdeinterlace_chain (GstPad * pad, GstObject * parent,
|
|||
|
||||
GST_OBJECT_LOCK (deinterlace);
|
||||
if (deinterlace->reconfigure) {
|
||||
if (deinterlace->new_mode != -1)
|
||||
if ((gint) deinterlace->new_mode != -1)
|
||||
deinterlace->mode = deinterlace->new_mode;
|
||||
deinterlace->new_mode = -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue