mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gst-libs/gst/riff/riff-read.c: - fix INFO tag extraction in RIFF/AVI files because gst_event_unref (event) also freed...
Original commit message from CVS: * gst-libs/gst/riff/riff-read.c : - fix INFO tag extraction in RIFF/AVI files because gst_event_unref (event) also freed taglist - avoid a mem leak
This commit is contained in:
parent
537c09f7a2
commit
1ff64f8ec7
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2004-05-14 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||||
|
|
||||||
|
* gst-libs/gst/riff/riff-read.c :
|
||||||
|
- fix INFO tag extraction in RIFF/AVI files
|
||||||
|
because gst_event_unref (event) also freed taglist
|
||||||
|
- avoid a mem leak
|
||||||
|
|
||||||
2004-05-13 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
2004-05-13 Stephane Loeuillet <stephane.loeuillet@tiscali.fr>
|
||||||
|
|
||||||
* ext/mad/gstid3tag.c : move from "Codec/(Dem/M)uxer" to "Codec/(Dem/M)uxer/Audio"
|
* ext/mad/gstid3tag.c : move from "Codec/(Dem/M)uxer" to "Codec/(Dem/M)uxer/Audio"
|
||||||
|
|
|
@ -879,8 +879,12 @@ gst_riff_read_info (GstRiffRead * riff)
|
||||||
gst_pad_push (GST_PAD (padlist->data), GST_DATA (event));
|
gst_pad_push (GST_PAD (padlist->data), GST_DATA (event));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gst_element_found_tags (element, taglist);
|
||||||
|
|
||||||
gst_event_unref (event);
|
gst_event_unref (event);
|
||||||
gst_element_found_tags (GST_ELEMENT (riff), taglist);
|
} else {
|
||||||
|
gst_tag_list_free (taglist);
|
||||||
}
|
}
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue