mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-13 03:24:14 +00:00
ext/wavpack/gstwavpackdec.c: Fix buffer clipping to correctly clip to the segment stop.
Original commit message from CVS: * ext/wavpack/gstwavpackdec.c: (gst_wavpack_dec_clip_outgoing_buffer): Fix buffer clipping to correctly clip to the segment stop.
This commit is contained in:
parent
3f6892bfcc
commit
682ecd9b67
3 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-07-16 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* ext/wavpack/gstwavpackdec.c:
|
||||
(gst_wavpack_dec_clip_outgoing_buffer):
|
||||
Fix buffer clipping to correctly clip to the segment stop.
|
||||
|
||||
2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
|
||||
|
||||
* configure.ac:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 5167bced491ffe62251c62d6c5e7b9a7541e97e5
|
||||
Subproject commit fb4b30ebbec59a8944cacae5fb5cf40bff5dfcaa
|
|
@ -227,7 +227,7 @@ gst_wavpack_dec_clip_outgoing_buffer (GstWavpackDec * dec, GstBuffer * buf)
|
|||
GST_BUFFER_SIZE (buf) -= diff;
|
||||
}
|
||||
|
||||
diff = cstop - stop;
|
||||
diff = stop - cstop;
|
||||
if (diff > 0) {
|
||||
GST_BUFFER_DURATION (buf) -= diff;
|
||||
|
||||
|
|
Loading…
Reference in a new issue