opusenc: Remove another unused variable
authorSebastian Dröge <sebastian@centricular.com>
Mon, 23 Mar 2015 12:13:35 +0000 (13:13 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 23 Mar 2015 12:13:35 +0000 (13:13 +0100)
ext/opus/gstopusenc.c
ext/opus/gstopusenc.h

index d31962e..5f897c8 100644 (file)
@@ -387,7 +387,6 @@ gst_opus_enc_start (GstAudioEncoder * benc)
   GstOpusEnc *enc = GST_OPUS_ENC (benc);
 
   GST_DEBUG_OBJECT (enc, "start");
-  enc->tags = gst_tag_list_new_empty ();
   enc->encoded_samples = 0;
 
   return TRUE;
@@ -403,8 +402,6 @@ gst_opus_enc_stop (GstAudioEncoder * benc)
     opus_multistream_encoder_destroy (enc->state);
     enc->state = NULL;
   }
-  gst_tag_list_unref (enc->tags);
-  enc->tags = NULL;
   gst_tag_setter_reset_tags (GST_TAG_SETTER (enc));
 
   return TRUE;
index 80ac328..02f47d2 100644 (file)
@@ -81,8 +81,6 @@ struct _GstOpusEnc {
 
   guint64               encoded_samples;
 
-  GstTagList            *tags;
-
   guint8                channel_mapping_family;
   guint8                encoding_channel_mapping[256];
   guint8                decoding_channel_mapping[256];