diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-02-02 17:30:15 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2011-02-02 17:34:42 +0000 |
commit | 54c19ba6def4f9cead7e18a893c981e425f9405c (patch) | |
tree | b665674a196361be4897304678038b32b451c06d | |
parent | 2eac43bd73ff405c6883c1c2476a90a123b52159 (diff) |
oggmux: free stream map caps when done
-rw-r--r-- | ext/ogg/gstoggmux.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/ogg/gstoggmux.c b/ext/ogg/gstoggmux.c index 6dfbf612c..3329824b5 100644 --- a/ext/ogg/gstoggmux.c +++ b/ext/ogg/gstoggmux.c | |||
@@ -283,6 +283,7 @@ gst_ogg_mux_ogg_pad_destroy_notify (GstCollectData * data) | |||
283 | GstBuffer *buf; | 283 | GstBuffer *buf; |
284 | 284 | ||
285 | ogg_stream_clear (&oggpad->map.stream); | 285 | ogg_stream_clear (&oggpad->map.stream); |
286 | gst_caps_replace (&oggpad->map.caps, NULL); | ||
286 | 287 | ||
287 | if (oggpad->pagebuffers) { | 288 | if (oggpad->pagebuffers) { |
288 | while ((buf = g_queue_pop_head (oggpad->pagebuffers)) != NULL) { | 289 | while ((buf = g_queue_pop_head (oggpad->pagebuffers)) != NULL) { |