projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07cec6d
)
avviddec: exclude non-video decoders
author
Alban Browaeys
<prahal@yahoo.com>
Sat, 29 Sep 2012 23:27:10 +0000
(
01:27
+0200)
committer
Tim-Philipp Müller
<tim@centricular.net>
Sun, 30 Sep 2012 15:24:18 +0000
(16:24 +0100)
Otherwise audio decoders "ignored", ie blacklisted, end up
registered by avviddec as video decoders.
https://bugzilla.gnome.org/show_bug.cgi?id=685113
ext/libav/gstavviddec.c
patch
|
blob
|
history
diff --git
a/ext/libav/gstavviddec.c
b/ext/libav/gstavviddec.c
index
4d384a4
..
669a75d
100644
(file)
--- a/
ext/libav/gstavviddec.c
+++ b/
ext/libav/gstavviddec.c
@@
-1690,10
+1690,9
@@
gst_ffmpegviddec_register (GstPlugin * plugin)
gchar *type_name;
gchar *plugin_name;
- /* only decoders */
- if (!in_plugin->decode
) {
+ /* only
video
decoders */
+ if (!in_plugin->decode
|| in_plugin->type != AVMEDIA_TYPE_VIDEO)
goto next;
- }
/* no quasi-codecs, please */
if (in_plugin->id == CODEC_ID_RAWVIDEO ||