projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85a08d8
)
textoverlay: make buffer writable
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 6 Aug 2009 10:01:10 +0000
(12:01 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 6 Aug 2009 10:01:10 +0000
(12:01 +0200)
Make the input buffer writable before changing its contents.
ext/pango/gsttextoverlay.c
patch
|
blob
|
history
diff --git
a/ext/pango/gsttextoverlay.c
b/ext/pango/gsttextoverlay.c
index
49d0b62
..
dd9c8fc
100644
(file)
--- a/
ext/pango/gsttextoverlay.c
+++ b/
ext/pango/gsttextoverlay.c
@@
-1561,6
+1561,8
@@
gst_text_overlay_push_frame (GstTextOverlay * overlay, GstBuffer * video_frame)
width = overlay->image_width;
height = overlay->image_height;
+ video_frame = gst_buffer_make_writable (video_frame);
+
if (overlay->use_vertical_render)
halign = GST_TEXT_OVERLAY_HALIGN_RIGHT;
else