oggmux: free stream map caps when done

This commit is contained in:
Tim-Philipp Müller 2011-02-02 17:30:15 +00:00
parent 2eac43bd73
commit 54c19ba6de

View file

@ -283,6 +283,7 @@ gst_ogg_mux_ogg_pad_destroy_notify (GstCollectData * data)
GstBuffer *buf;
ogg_stream_clear (&oggpad->map.stream);
gst_caps_replace (&oggpad->map.caps, NULL);
if (oggpad->pagebuffers) {
while ((buf = g_queue_pop_head (oggpad->pagebuffers)) != NULL) {