ffmpegdec/enc: Blacklist more raw formats

This commit is contained in:
Edward Hervey 2010-05-31 18:44:02 +02:00
parent c50ec5e605
commit 2fccd4640f
2 changed files with 8 additions and 2 deletions

View file

@ -2862,8 +2862,11 @@ gst_ffmpegdec_register (GstPlugin * plugin)
/* no quasi-codecs, please */
if (in_plugin->id == CODEC_ID_RAWVIDEO ||
in_plugin->id == CODEC_ID_V210 ||
in_plugin->id == CODEC_ID_V210X ||
in_plugin->id == CODEC_ID_R210 ||
(in_plugin->id >= CODEC_ID_PCM_S16LE &&
in_plugin->id <= CODEC_ID_PCM_F64LE)) {
in_plugin->id <= CODEC_ID_PCM_BLURAY)) {
goto next;
}

View file

@ -1300,9 +1300,12 @@ gst_ffmpegenc_register (GstPlugin * plugin)
/* no quasi codecs, please */
if (in_plugin->id == CODEC_ID_RAWVIDEO ||
in_plugin->id == CODEC_ID_V210 ||
in_plugin->id == CODEC_ID_V210X ||
in_plugin->id == CODEC_ID_R210 ||
in_plugin->id == CODEC_ID_ZLIB ||
(in_plugin->id >= CODEC_ID_PCM_S16LE &&
in_plugin->id <= CODEC_ID_PCM_F64LE)) {
in_plugin->id <= CODEC_ID_PCM_BLURAY)) {
goto next;
}