mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
gst/asfdemux/gstasfdemux.c: Skip chunks for unknown streams properly. Fixes broken sound and/or video for files that ...
Original commit message from CVS: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk): Skip chunks for unknown streams properly. Fixes broken sound and/or video for files that have additional streams that we don't recognise yet (e.g. if they are embedded in extended stream properties). Partly fixes #343763.
This commit is contained in:
parent
0a27252bb5
commit
05342dd632
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2006-07-08 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
|
||||||
|
Skip chunks for unknown streams properly. Fixes broken sound
|
||||||
|
and/or video for files that have additional streams that
|
||||||
|
we don't recognise yet (e.g. if they are embedded in extended
|
||||||
|
stream properties). Partly fixes #343763.
|
||||||
|
|
||||||
2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
|
2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/asfdemux/asfheaders.c:
|
* gst/asfdemux/asfheaders.c:
|
||||||
|
|
|
@ -1869,6 +1869,8 @@ gst_asf_demux_process_chunk (GstASFDemux * demux,
|
||||||
stream = gst_asf_demux_get_stream (demux, segment_info->stream_number);
|
stream = gst_asf_demux_get_stream (demux, segment_info->stream_number);
|
||||||
if (stream == NULL) {
|
if (stream == NULL) {
|
||||||
GST_WARNING ("invalid stream number %d", segment_info->stream_number);
|
GST_WARNING ("invalid stream number %d", segment_info->stream_number);
|
||||||
|
if (!gst_asf_demux_skip_bytes (segment_info->chunk_size, p_data, p_size))
|
||||||
|
ret = ASF_FLOW_NEED_MORE_DATA;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue