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:
6a26a42
)
vorbisenc: use template subset check for accept-caps
author
Thiago Santos
<thiagoss@osg.samsung.com>
Sun, 16 Aug 2015 01:23:15 +0000
(22:23 -0300)
committer
Thiago Santos
<thiagoss@osg.samsung.com>
Sun, 16 Aug 2015 15:30:30 +0000
(12:30 -0300)
It is faster than doing a query that propagates downstream and
should be enough
ext/vorbis/gstvorbisenc.c
patch
|
blob
|
history
diff --git
a/ext/vorbis/gstvorbisenc.c
b/ext/vorbis/gstvorbisenc.c
index
5026527
..
818a010
100644
(file)
--- a/
ext/vorbis/gstvorbisenc.c
+++ b/
ext/vorbis/gstvorbisenc.c
@@
-183,6
+183,8
@@
gst_vorbis_enc_init (GstVorbisEnc * vorbisenc)
{
GstAudioEncoder *enc = GST_AUDIO_ENCODER (vorbisenc);
+ GST_PAD_SET_ACCEPT_TEMPLATE (GST_AUDIO_ENCODER_SINK_PAD (enc));
+
vorbisenc->channels = -1;
vorbisenc->frequency = -1;