mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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;
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* only encoders */
|
/* only video encoders */
|
||||||
if (!in_plugin->encode) {
|
if (!in_plugin->encode || in_plugin->type != AVMEDIA_TYPE_VIDEO)
|
||||||
goto next;
|
goto next;
|
||||||
}
|
|
||||||
|
|
||||||
/* FIXME : We should have a method to know cheaply whether we have a mapping
|
/* FIXME : We should have a method to know cheaply whether we have a mapping
|
||||||
* for the given plugin or not */
|
* for the given plugin or not */
|
||||||
|
|
Loading…
Reference in a new issue