mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
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.
This commit is contained in:
parent
71dec960dd
commit
9e72ba8464
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2008-12-16 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
* tests/check/elements/deinterleave.c: (deinterleave_suite):
|
* tests/check/elements/deinterleave.c: (deinterleave_suite):
|
||||||
|
|
|
@ -388,6 +388,9 @@ gst_avi_mux_reset (GstAviMux * avimux)
|
||||||
|
|
||||||
/* state info */
|
/* state info */
|
||||||
avimux->write_header = TRUE;
|
avimux->write_header = TRUE;
|
||||||
|
|
||||||
|
/* tags */
|
||||||
|
gst_tag_setter_flush (GST_TAG_SETTER (avimux));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -1225,7 +1228,6 @@ gst_avi_mux_riff_get_avi_header (GstAviMux * avimux)
|
||||||
/* 12 bytes is needed for data header */
|
/* 12 bytes is needed for data header */
|
||||||
GST_BUFFER_SIZE (buffer) -= 12;
|
GST_BUFFER_SIZE (buffer) -= 12;
|
||||||
gst_tag_list_foreach (tags, gst_avi_mux_write_tag, &data);
|
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;
|
GST_BUFFER_SIZE (buffer) += 12;
|
||||||
buffdata = GST_BUFFER_DATA (buffer) + highmark;
|
buffdata = GST_BUFFER_DATA (buffer) + highmark;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue