opusenc: reset tagsetter interface on stop
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 21 Nov 2011 12:02:28 +0000 (12:02 +0000)
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Mon, 21 Nov 2011 12:02:28 +0000 (12:02 +0000)
ext/opus/gstopusenc.c

index c343968..276e1dd 100644 (file)
@@ -333,6 +333,7 @@ gst_opus_enc_stop (GstAudioEncoder * benc)
   enc->tags = NULL;
   g_slist_foreach (enc->headers, (GFunc) gst_buffer_unref, NULL);
   enc->headers = NULL;
+  gst_tag_setter_reset_tags (GST_TAG_SETTER (enc));
 
   return TRUE;
 }