opusenc: Use aux vars to minimize critical region
authorMiguel París Díaz <mparisdiaz@gmail.com>
Sat, 10 May 2014 16:32:28 +0000 (18:32 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 26 May 2014 07:23:42 +0000 (09:23 +0200)
commitfd77bb1eff0fc9252cbcd927bd89ac00f2104a6e
tree758c335f5e1308b54cc4b7068866ea1eb683d075
parent16042fac2bf5795aed79c70afbb8df73973976dc
opusenc: Use aux vars to minimize critical region

This avoid dead lock between gst_audio_encoder_finish_frame() and
gst_opus_enc_get_property().
Also, now bytes var is set into protected section.

https://bugzilla.gnome.org/show_bug.cgi?id=729882
ext/opus/gstopusenc.c