+2008-05-12 Mark Nauwelaerts <mnauw@users.sf.net>
+
+ * gst/avi/gstavimux.c: (gst_avi_mux_pad_reset):
+ Do not leave fourcc stream header field empty upon reset.
+ Fixes #519301.
+
2008-05-11 Jan Schmidt <jan.schmidt@sun.com>
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
{
/* generic part */
memset (&(avipad->hdr), 0, sizeof (gst_riff_strh));
- avipad->hdr.rate = 1;
- avipad->hdr.quality = 0xFFFFFFFF;
memset (&(avipad->idx[0]), 0, sizeof (avipad->idx));
if (avipad->is_video) {
GstAviVideoPad *vidpad = (GstAviVideoPad *) avipad;
+ avipad->hdr.type = GST_MAKE_FOURCC ('v', 'i', 'd', 's');
if (vidpad->vids_codec_data) {
gst_buffer_unref (vidpad->vids_codec_data);
vidpad->vids_codec_data = NULL;
} else {
GstAviAudioPad *audpad = (GstAviAudioPad *) avipad;
+ avipad->hdr.type = GST_MAKE_FOURCC ('a', 'u', 'd', 's');
if (audpad->auds_codec_data) {
gst_buffer_unref (audpad->auds_codec_data);
audpad->auds_codec_data = NULL;