diff options
| author | Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com> | 2008-05-07 14:56:22 +0000 |
|---|---|---|
| committer | Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com> | 2008-05-07 14:56:22 +0000 |
| commit | deab3d26ba41b3c76cf3c73c6ac77f814fb22571 (patch) | |
| tree | 48989510a31d0c9b8e488948f9e46943358dacf1 /ChangeLog | |
| parent | c02e043b1f94704c874c96b4318472134a88b6ac (diff) | |
sys/directdraw/gstdirectdrawsink.c
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Make it so that gst_directdraw_sink_buffer_alloc uses the right
width/height.
Especially when looking through the pool of buffers, make sure that
the width/height of caps is used instead of the already negotiated
dimensions.
For example if a buffer with different caps is requested, i.e.
higher resolution, the caller would get a buffer with the old
dimensions and thus corrupt the heap.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -2,6 +2,20 @@ * sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc): + Make it so that gst_directdraw_sink_buffer_alloc uses the right + width/height. + + Especially when looking through the pool of buffers, make sure that + the width/height of caps is used instead of the already negotiated + dimensions. + For example if a buffer with different caps is requested, i.e. + higher resolution, the caller would get a buffer with the old + dimensions and thus corrupt the heap. + +2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com> + + * sys/directdraw/gstdirectdrawsink.c + (gst_directdraw_sink_buffer_alloc): Clear the flags on recycled buffers from buffer_alloc. Partially fixes #520885. |
