opusenc: Remove another unused variable
This commit is contained in:
parent
42b5cc8938
commit
948fbe154f
@ -387,7 +387,6 @@ gst_opus_enc_start (GstAudioEncoder * benc)
|
|||||||
GstOpusEnc *enc = GST_OPUS_ENC (benc);
|
GstOpusEnc *enc = GST_OPUS_ENC (benc);
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (enc, "start");
|
GST_DEBUG_OBJECT (enc, "start");
|
||||||
enc->tags = gst_tag_list_new_empty ();
|
|
||||||
enc->encoded_samples = 0;
|
enc->encoded_samples = 0;
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
@ -403,8 +402,6 @@ gst_opus_enc_stop (GstAudioEncoder * benc)
|
|||||||
opus_multistream_encoder_destroy (enc->state);
|
opus_multistream_encoder_destroy (enc->state);
|
||||||
enc->state = NULL;
|
enc->state = NULL;
|
||||||
}
|
}
|
||||||
gst_tag_list_unref (enc->tags);
|
|
||||||
enc->tags = NULL;
|
|
||||||
gst_tag_setter_reset_tags (GST_TAG_SETTER (enc));
|
gst_tag_setter_reset_tags (GST_TAG_SETTER (enc));
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
@ -81,8 +81,6 @@ struct _GstOpusEnc {
|
|||||||
|
|
||||||
guint64 encoded_samples;
|
guint64 encoded_samples;
|
||||||
|
|
||||||
GstTagList *tags;
|
|
||||||
|
|
||||||
guint8 channel_mapping_family;
|
guint8 channel_mapping_family;
|
||||||
guint8 encoding_channel_mapping[256];
|
guint8 encoding_channel_mapping[256];
|
||||||
guint8 decoding_channel_mapping[256];
|
guint8 decoding_channel_mapping[256];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user