projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea4430
)
vorbisdec: use default pad accept-caps handling
author
Thiago Santos
<thiagoss@osg.samsung.com>
Sat, 15 Aug 2015 10:41:24 +0000
(07:41 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Sat, 15 Aug 2015 16:44:35 +0000
(13:44 -0300)
Avoids useless check of downstream caps when handling an
accept-caps query
ext/vorbis/gstvorbisdec.c
patch
|
blob
|
history
diff --git
a/ext/vorbis/gstvorbisdec.c
b/ext/vorbis/gstvorbisdec.c
index
00dc784
..
f679d7e
100644
(file)
--- a/
ext/vorbis/gstvorbisdec.c
+++ b/
ext/vorbis/gstvorbisdec.c
@@
-109,6
+109,9
@@
gst_vorbis_dec_class_init (GstVorbisDecClass * klass)
static void
gst_vorbis_dec_init (GstVorbisDec * dec)
{
+ gst_audio_decoder_set_use_default_pad_acceptcaps (GST_AUDIO_DECODER_CAST
+ (dec), TRUE);
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_DECODER_SINK_PAD (dec));
}
static void