projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b979e19
)
dvdsubdec: allocate correct amount of memory for bitmap
author
Andreas Frisch
<fraxinas@opendreambox.org>
Tue, 30 Oct 2012 12:39:52 +0000
(13:39 +0100)
committer
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Tue, 30 Oct 2012 13:28:09 +0000
(13:28 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=687192
gst/dvdsub/gstdvdsubdec.c
patch
|
blob
|
history
diff --git
a/gst/dvdsub/gstdvdsubdec.c
b/gst/dvdsub/gstdvdsubdec.c
index
2a8b9a3
..
b26a20b
100644
(file)
--- a/
gst/dvdsub/gstdvdsubdec.c
+++ b/
gst/dvdsub/gstdvdsubdec.c
@@
-691,7
+691,7
@@
gst_send_subtitle_frame (GstDvdSubDec * dec, GstClockTime end_ts)
}
out_buf =
- gst_buffer_new_allocate (NULL,
4 *
GST_VIDEO_INFO_SIZE (&dec->info),
+ gst_buffer_new_allocate (NULL, GST_VIDEO_INFO_SIZE (&dec->info),
¶ms);
gst_video_frame_map (&frame, &dec->info, out_buf, GST_MAP_READWRITE);