Skip to content
Snippets Groups Projects
Commit 451a6c2e authored by Tim-Philipp Müller's avatar Tim-Philipp Müller :tropical_fish:
Browse files

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
parent f1071cc1
No related branches found
No related tags found
Loading
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment