GNOME Bugzilla – Bug 647721
Remove excessive checking for video.c
Last modified: 2011-04-14 19:50:50 UTC
Created attachment 185911 [details] [review] Patch to clean-up the excessive checking. It seems that the following function gst_video_format_is_yuv,gst_video_format_is_rgb and gst_video_format_has_alpha are doing excessive checking in switch . Just a clean-up for it.
commit 500d14c35c656890686574e1c041fb556df17056 Author: Sreerenj Balachandran <sreerenj.balachandran@nokia.com> Date: Thu Apr 14 00:26:34 2011 +0300 video: Remove the extensive checkings from switch The default case handles them already
I'm reverting this. Every case is specifically listed so that it's easier to find missing cases by adding -Wswitch-enums to CFLAGS.