summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>2008-05-07 14:56:22 +0000
committerOle André Vadla Ravnås <ole.andre.ravnas@tandberg.com>2008-05-07 14:56:22 +0000
commitdeab3d26ba41b3c76cf3c73c6ac77f814fb22571 (patch)
tree48989510a31d0c9b8e488948f9e46943358dacf1 /ChangeLog
parentc02e043b1f94704c874c96b4318472134a88b6ac (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--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d8619a4..84e5b660 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.