From: David Schleef Date: Sun, 16 Jan 2011 02:21:28 +0000 (-0800) Subject: theoraenc: Set speed level while running X-Git-Tag: 1.19.3~511^2~6555^2~1154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f499810bdc6ff5015524415447af3234c3207283;p=platform%2Fupstream%2Fgstreamer.git theoraenc: Set speed level while running --- diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c index fe7f1b7bf1..a6a8640541 100644 --- 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);