avviddec: Disable AV1 decoder
We have various elements for AV1 decoding, the ffmpeg one only works if hardware support is available and seems to require special signalling. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3610>
This commit is contained in:
parent
c739fcbe41
commit
1cbb145c50
@ -2625,6 +2625,9 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
|
|||||||
/* MP2 : Use MP3 for decoding */
|
/* MP2 : Use MP3 for decoding */
|
||||||
/* Theora: Use libtheora based theoradec */
|
/* Theora: Use libtheora based theoradec */
|
||||||
/* CDG: use cdgdec */
|
/* CDG: use cdgdec */
|
||||||
|
/* AV1: Use av1dec, dav1ddec or any of the hardware decoders.
|
||||||
|
* Also ffmpeg's decoder only works with hardware support!
|
||||||
|
*/
|
||||||
if (!strcmp (in_plugin->name, "theora") ||
|
if (!strcmp (in_plugin->name, "theora") ||
|
||||||
!strcmp (in_plugin->name, "mpeg1video") ||
|
!strcmp (in_plugin->name, "mpeg1video") ||
|
||||||
strstr (in_plugin->name, "crystalhd") != NULL ||
|
strstr (in_plugin->name, "crystalhd") != NULL ||
|
||||||
@ -2633,7 +2636,8 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
|
|||||||
!strcmp (in_plugin->name, "pgssub") ||
|
!strcmp (in_plugin->name, "pgssub") ||
|
||||||
!strcmp (in_plugin->name, "dvdsub") ||
|
!strcmp (in_plugin->name, "dvdsub") ||
|
||||||
!strcmp (in_plugin->name, "dvbsub") ||
|
!strcmp (in_plugin->name, "dvbsub") ||
|
||||||
!strcmp (in_plugin->name, "cdgraphics")) {
|
!strcmp (in_plugin->name, "cdgraphics") ||
|
||||||
|
!strcmp (in_plugin->name, "av1")) {
|
||||||
GST_LOG ("Ignoring decoder %s", in_plugin->name);
|
GST_LOG ("Ignoring decoder %s", in_plugin->name);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user