mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
baseaudioencoder: Taking the OBJECT lock in reset() is not needed
This commit is contained in:
parent
c24533c8be
commit
ebc740ea06
1 changed files with 0 additions and 4 deletions
|
@ -367,8 +367,6 @@ gst_base_audio_encoder_init (GstBaseAudioEncoder * enc,
|
|||
static void
|
||||
gst_base_audio_encoder_reset (GstBaseAudioEncoder * enc, gboolean full)
|
||||
{
|
||||
GST_OBJECT_LOCK (enc);
|
||||
|
||||
if (full) {
|
||||
enc->priv->active = FALSE;
|
||||
enc->priv->samples_in = 0;
|
||||
|
@ -391,8 +389,6 @@ gst_base_audio_encoder_reset (GstBaseAudioEncoder * enc, gboolean full)
|
|||
enc->priv->base_gp = -1;
|
||||
enc->priv->samples = 0;
|
||||
enc->priv->discont = FALSE;
|
||||
|
||||
GST_OBJECT_UNLOCK (enc);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue