mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 15:32:32 +00:00
Disable exposing decoder/encoder using external library. Fixes #574746
This commit is contained in:
parent
ca1321b224
commit
1e689f057f
2 changed files with 20 additions and 0 deletions
|
@ -2548,6 +2548,16 @@ gst_ffmpegdec_register (GstPlugin * plugin)
|
||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* No decoders depending on external libraries (we don't build them, but
|
||||||
|
* people who build against an external ffmpeg might have them.
|
||||||
|
* We have native gstreamer plugins for all of those libraries anyway. */
|
||||||
|
if (!strncmp (in_plugin->name, "lib", 3)) {
|
||||||
|
GST_DEBUG
|
||||||
|
("Not using external library decoder %s. Use the gstreamer-native ones instead.",
|
||||||
|
in_plugin->name);
|
||||||
|
goto next;
|
||||||
|
}
|
||||||
|
|
||||||
GST_DEBUG ("Trying plugin %s [%s]", in_plugin->name, in_plugin->long_name);
|
GST_DEBUG ("Trying plugin %s [%s]", in_plugin->name, in_plugin->long_name);
|
||||||
|
|
||||||
/* no codecs for which we're GUARANTEED to have better alternatives */
|
/* no codecs for which we're GUARANTEED to have better alternatives */
|
||||||
|
|
|
@ -1005,6 +1005,16 @@ gst_ffmpegenc_register (GstPlugin * plugin)
|
||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* No encoders depending on external libraries (we don't build them, but
|
||||||
|
* people who build against an external ffmpeg might have them.
|
||||||
|
* We have native gstreamer plugins for all of those libraries anyway. */
|
||||||
|
if (!strncmp (in_plugin->name, "lib", 3)) {
|
||||||
|
GST_DEBUG
|
||||||
|
("Not using external library encoder %s. Use the gstreamer-native ones instead.",
|
||||||
|
in_plugin->name);
|
||||||
|
goto next;
|
||||||
|
}
|
||||||
|
|
||||||
/* only encoders */
|
/* only encoders */
|
||||||
if (!in_plugin->encode) {
|
if (!in_plugin->encode) {
|
||||||
goto next;
|
goto next;
|
||||||
|
|
Loading…
Reference in a new issue