Commit 682ecd9b authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

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.
parent 3f6892bf
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:
......
common @ fb4b30eb
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment