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:
d467eb7
)
theoraenc: Set speed level while running
author
David Schleef
<ds@schleef.org>
Sun, 16 Jan 2011 02:21:28 +0000
(18:21 -0800)
committer
David Schleef
<ds@schleef.org>
Fri, 18 Feb 2011 02:29:56 +0000
(18:29 -0800)
ext/theora/gsttheoraenc.c
patch
|
blob
|
history
diff --git
a/ext/theora/gsttheoraenc.c
b/ext/theora/gsttheoraenc.c
index fe7f1b7bf136cd79df9edee8d416d03588cfd547..a6a86405412c3d20d5e11696ecbbbb88d3e2c6a4 100644
(file)
--- a/
ext/theora/gsttheoraenc.c
+++ b/
ext/theora/gsttheoraenc.c
@@
-1466,6
+1466,10
@@
theora_enc_set_property (GObject * object, guint prop_id,
break;
case PROP_SPEEDLEVEL:
enc->speed_level = g_value_get_int (value);
+ if (enc->encoder) {
+ th_encode_ctl (enc->encoder, TH_ENCCTL_SET_SPLEVEL, &enc->speed_level,
+ sizeof (enc->speed_level));
+ }
break;
case PROP_VP3_COMPATIBLE:
enc->vp3_compatible = g_value_get_boolean (value);