ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case statements to make control flow more clear.

Original commit message from CVS:
2006-02-02  Andy Wingo  <wingo@pobox.com>

* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case
statements to make control flow more clear.
This commit is contained in:
Andy Wingo 2006-02-02 12:25:43 +00:00
parent fe739ceba7
commit e8911c0b5f
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2006-02-02 Andy Wingo <wingo@pobox.com>
* ext/ffmpeg/gstffmpegdec.c (gst_ffmpegdec_register): Reorder case
statements to make control flow more clear.
2006-02-02 Christian Schaller <christian at fluendo dot com>
* Set rank NONE for mp3 and mpeg2video:

View file

@ -1386,14 +1386,12 @@ gst_ffmpegdec_register (GstPlugin * plugin)
case CODEC_ID_VC9:
/* what's that? */
case CODEC_ID_SP5X:
rank = GST_RANK_NONE;
/* MP3 and MPEG2 have better alternatives and
the ffmpeg versions don't work properly feel
free to assign rank if you fix them */
case CODEC_ID_MP3:
rank = GST_RANK_NONE;
case CODEC_ID_MPEG2VIDEO:
rank = GST_RANK_NONE;
rank = GST_RANK_NONE;
break;
}
if (!gst_element_register (plugin, type_name, rank, type)) {