Commit 9e72ba84 authored by Stefan Kost's avatar Stefan Kost
Browse files

gst/avi/gstavimux.c: Use new tagsetter api to flush tags.

Original commit message from CVS:
* gst/avi/gstavimux.c:
Use new tagsetter api to flush tags.
parent 71dec960
2008-12-16 Stefan Kost <ensonic@users.sf.net>
* gst/avi/gstavimux.c:
Use new tagsetter api to flush tags.
2008-12-16 Sebastian Dröge <sebastian.droege@collabora.co.uk>
* tests/check/elements/deinterleave.c: (deinterleave_suite):
......
......@@ -388,6 +388,9 @@ gst_avi_mux_reset (GstAviMux * avimux)
/* state info */
avimux->write_header = TRUE;
/* tags */
gst_tag_setter_flush (GST_TAG_SETTER (avimux));
}
static void
......@@ -1225,7 +1228,6 @@ gst_avi_mux_riff_get_avi_header (GstAviMux * avimux)
/* 12 bytes is needed for data header */
GST_BUFFER_SIZE (buffer) -= 12;
gst_tag_list_foreach (tags, gst_avi_mux_write_tag, &data);
/* do not free tags here, as it refers to the tag snapshot */
GST_BUFFER_SIZE (buffer) += 12;
buffdata = GST_BUFFER_DATA (buffer) + highmark;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment