opusenc: reset tagsetter interface on stop

This commit is contained in:
Vincent Penquerc'h 2011-11-21 12:02:28 +00:00
parent a6ca3673b4
commit fbfc870343

View 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;
}