gst/: In streaming mode, if the first buffer we get doesn't have an offset, fix it...
authorTim-Philipp Müller <tim@centricular.net>
Tue, 12 Dec 2006 18:45:58 +0000 (18:45 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Tue, 12 Dec 2006 18:45:58 +0000 (18:45 +0000)
commit173ee367e4c68c0d37af9dce9d1fb1e77b8e5ebf
treefce708c87ef0cc9eea72fe302f370ba4723ddcb1
parentb61aef839f6256889b54144cff790fdfde430cda
gst/: In streaming mode, if the first buffer we get doesn't have an offset, fix it up to be 0, otherwise trimming won...

Original commit message from CVS:
* gst/apetag/gsttagdemux.c: (gst_tag_demux_chain_parse_tag),
(gst_tag_demux_chain):
* gst/id3demux/gstid3demux.c: (gst_id3demux_chain):
In streaming mode, if the first buffer we get doesn't have an
offset, fix it up to be 0, otherwise trimming won't work later on
and we'll be typefinding application/x-id3, which may result in
decodebin plugging an endless number of id3demux elements as a
consequence. Fixes #385031.
ChangeLog
gst/apetag/gsttagdemux.c
gst/id3demux/gstid3demux.c