mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
avvidenc: also skip non-video encoders
Doesn't actually make any difference at the moment, but seems the right thing to do. https://bugzilla.gnome.org/show_bug.cgi?id=685113
This commit is contained in:
parent
f1071cc1b1
commit
451a6c2ecf
1 changed files with 2 additions and 3 deletions
|
@ -970,10 +970,9 @@ gst_ffmpegvidenc_register (GstPlugin * plugin)
|
|||
goto next;
|
||||
}
|
||||
|
||||
/* only encoders */
|
||||
if (!in_plugin->encode) {
|
||||
/* only video encoders */
|
||||
if (!in_plugin->encode || in_plugin->type != AVMEDIA_TYPE_VIDEO)
|
||||
goto next;
|
||||
}
|
||||
|
||||
/* FIXME : We should have a method to know cheaply whether we have a mapping
|
||||
* for the given plugin or not */
|
||||
|
|
Loading…
Reference in a new issue