projects
/
platform
/
upstream
/
gst-libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39df65e
)
avviddec: Don't expose NVIDIA CUVID decoder
author
Sebastian Dröge
<sebastian@centricular.com>
Tue, 16 May 2017 15:54:32 +0000
(18:54 +0300)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 29 May 2017 07:47:44 +0000
(10:47 +0300)
It's not working without further changes on our side, like all hardware
decoders in ffmpeg.
ext/libav/gstavviddec.c
patch
|
blob
|
history
diff --git
a/ext/libav/gstavviddec.c
b/ext/libav/gstavviddec.c
index
1f6edc3
..
251823b
100644
(file)
--- a/
ext/libav/gstavviddec.c
+++ b/
ext/libav/gstavviddec.c
@@
-2307,6
+2307,13
@@
gst_ffmpegviddec_register (GstPlugin * plugin)
goto next;
}
+ if (g_str_has_suffix (in_plugin->name, "_cuvid")) {
+ GST_DEBUG
+ ("Ignoring CUVID decoder %s. We can't handle this outside of ffmpeg",
+ in_plugin->name);
+ goto next;
+ }
+
GST_DEBUG ("Trying plugin %s [%s]", in_plugin->name, in_plugin->long_name);
/* no codecs for which we're GUARANTEED to have better alternatives */