mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
opusenc: remove useless setup field
This commit is contained in:
parent
1d0f770545
commit
f1477522de
2 changed files with 0 additions and 5 deletions
|
@ -458,8 +458,6 @@ gst_opus_enc_setup (GstOpusEnc * enc)
|
|||
|
||||
GST_DEBUG_OBJECT (enc, "setup");
|
||||
|
||||
enc->setup = FALSE;
|
||||
|
||||
enc->state = opus_encoder_create (enc->sample_rate, enc->n_channels,
|
||||
enc->audio_or_voip ? OPUS_APPLICATION_AUDIO : OPUS_APPLICATION_VOIP,
|
||||
&error);
|
||||
|
@ -479,8 +477,6 @@ gst_opus_enc_setup (GstOpusEnc * enc)
|
|||
|
||||
GST_LOG_OBJECT (enc, "we have frame size %d", enc->frame_size);
|
||||
|
||||
enc->setup = TRUE;
|
||||
|
||||
return TRUE;
|
||||
|
||||
encoder_creation_failed:
|
||||
|
|
|
@ -72,7 +72,6 @@ struct _GstOpusEnc {
|
|||
gint n_channels;
|
||||
gint sample_rate;
|
||||
|
||||
gboolean setup;
|
||||
gboolean header_sent;
|
||||
|
||||
GSList *headers;
|
||||
|
|
Loading…
Reference in a new issue