mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
dvdspu: don't write clipped lines to the output buffer
We may not increment the output pointer, but it'll still be just off the end of the allocated area. https://bugzilla.gnome.org/show_bug.cgi?id=602847
This commit is contained in:
parent
4ec3189575
commit
c3d05d6006
1 changed files with 3 additions and 2 deletions
|
@ -515,10 +515,11 @@ gstspu_vobsub_render (GstDVDSpu * dvdspu, GstBuffer * buf)
|
|||
/* Render odd line */
|
||||
state->vobsub.comp_last_x_ptr = state->vobsub.comp_last_x + 1;
|
||||
gstspu_vobsub_render_line (state, planes, &state->vobsub.cur_offsets[1]);
|
||||
/* Blend the accumulated UV compositing buffers onto the output */
|
||||
gstspu_vobsub_blend_comp_buffers (state, planes);
|
||||
|
||||
if (!clip) {
|
||||
/* Blend the accumulated UV compositing buffers onto the output */
|
||||
gstspu_vobsub_blend_comp_buffers (state, planes);
|
||||
|
||||
/* Update all the output pointers */
|
||||
planes[0] += state->Y_stride;
|
||||
planes[1] += state->UV_stride;
|
||||
|
|
Loading…
Reference in a new issue