mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-29 23:32:33 +00:00
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/4019>
This commit is contained in:
parent
e11d94c576
commit
e42752f42e
1 changed files with 5 additions and 1 deletions
|
@ -2551,6 +2551,9 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
|
|||
/* MP2 : Use MP3 for decoding */
|
||||
/* Theora: Use libtheora based theoradec */
|
||||
/* 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") ||
|
||||
!strcmp (in_plugin->name, "mpeg1video") ||
|
||||
strstr (in_plugin->name, "crystalhd") != NULL ||
|
||||
|
@ -2559,7 +2562,8 @@ gst_ffmpegviddec_register (GstPlugin * plugin)
|
|||
!strcmp (in_plugin->name, "pgssub") ||
|
||||
!strcmp (in_plugin->name, "dvdsub") ||
|
||||
!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);
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue