diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2007-07-16 09:19:14 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2007-07-16 09:19:14 +0000 |
commit | 7da951e3d5b4da534b475acc55f6b1bb29991921 (patch) | |
tree | c4df01a391dcf11f33f6941ba16a3ae59faca294 /ext | |
parent | e4afe4b55c2b4ffd296c79d285e3dccab2cf2458 (diff) | |
download | gst-plugins-bad-7da951e3d5b4da534b475acc55f6b1bb29991921.tar.gz gst-plugins-bad-7da951e3d5b4da534b475acc55f6b1bb29991921.tar.bz2 gst-plugins-bad-7da951e3d5b4da534b475acc55f6b1bb29991921.zip |
ext/faad/gstfaad.c: Fix buffer clipping to correctly clip to the segment stop.
Original commit message from CVS:
* ext/faad/gstfaad.c: (clip_outgoing_buffer):
Fix buffer clipping to correctly clip to the segment stop.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/faad/gstfaad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/faad/gstfaad.c b/ext/faad/gstfaad.c index 814de23b..5863e590 100644 --- a/ext/faad/gstfaad.c +++ b/ext/faad/gstfaad.c @@ -1163,7 +1163,7 @@ clip_outgoing_buffer (GstFaad * faad, GstBuffer * buffer) GST_BUFFER_DATA (buffer) += diff; GST_BUFFER_SIZE (buffer) -= diff; } - diff = cstop - stop; + diff = stop - cstop; if (diff > 0) { GST_BUFFER_DURATION (buffer) -= diff; /* time->frames->bytes */ |