opusenc: remove useless setup field

This commit is contained in:
Vincent Penquerc'h 2011-11-23 16:36:54 +00:00
parent 1d0f770545
commit f1477522de
2 changed files with 0 additions and 5 deletions

View file

@ -458,8 +458,6 @@ gst_opus_enc_setup (GstOpusEnc * enc)
GST_DEBUG_OBJECT (enc, "setup"); GST_DEBUG_OBJECT (enc, "setup");
enc->setup = FALSE;
enc->state = opus_encoder_create (enc->sample_rate, enc->n_channels, enc->state = opus_encoder_create (enc->sample_rate, enc->n_channels,
enc->audio_or_voip ? OPUS_APPLICATION_AUDIO : OPUS_APPLICATION_VOIP, enc->audio_or_voip ? OPUS_APPLICATION_AUDIO : OPUS_APPLICATION_VOIP,
&error); &error);
@ -479,8 +477,6 @@ gst_opus_enc_setup (GstOpusEnc * enc)
GST_LOG_OBJECT (enc, "we have frame size %d", enc->frame_size); GST_LOG_OBJECT (enc, "we have frame size %d", enc->frame_size);
enc->setup = TRUE;
return TRUE; return TRUE;
encoder_creation_failed: encoder_creation_failed:

View file

@ -72,7 +72,6 @@ struct _GstOpusEnc {
gint n_channels; gint n_channels;
gint sample_rate; gint sample_rate;
gboolean setup;
gboolean header_sent; gboolean header_sent;
GSList *headers; GSList *headers;