mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Avoid inflooping
Original commit message from CVS: Avoid inflooping
This commit is contained in:
parent
733bdeec63
commit
d600ac6318
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2004-05-12 Colin Walters <walters@redhat.com>
|
||||
|
||||
* gst/asfdemux/gstasfdemux.c (gst_asf_demux_process_segment): Avoid
|
||||
inflooping if we can't find a chunk. Or in other words, don't blow
|
||||
chunks if we don't have a chunk to blow.
|
||||
|
||||
2004-05-13 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
* ext/audiofile/gstafsrc.c: (gst_afsrc_get):
|
||||
Remove old debug output
|
||||
|
|
|
@ -705,13 +705,15 @@ gst_asf_demux_process_segment (GstASFDemux * asf_demux,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gst_asf_demux_process_chunk (asf_demux, packet_info, &segment_info);
|
||||
if (!gst_asf_demux_process_chunk (asf_demux, packet_info, &segment_info))
|
||||
return FALSE;
|
||||
|
||||
frag_size -= segment_info.chunk_size + 1;
|
||||
}
|
||||
} else {
|
||||
segment_info.chunk_size = frag_size;
|
||||
gst_asf_demux_process_chunk (asf_demux, packet_info, &segment_info);
|
||||
if (!gst_asf_demux_process_chunk (asf_demux, packet_info, &segment_info))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue