mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
ffmpegdec/enc: Blacklist more raw formats
This commit is contained in:
parent
c50ec5e605
commit
2fccd4640f
2 changed files with 8 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue