mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
dvdsubdec: allocate correct amount of memory for bitmap
https://bugzilla.gnome.org/show_bug.cgi?id=687192
This commit is contained in:
parent
b979e19af7
commit
619d4db672
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ gst_send_subtitle_frame (GstDvdSubDec * dec, GstClockTime end_ts)
|
||||||
}
|
}
|
||||||
|
|
||||||
out_buf =
|
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);
|
¶ms);
|
||||||
gst_video_frame_map (&frame, &dec->info, out_buf, GST_MAP_READWRITE);
|
gst_video_frame_map (&frame, &dec->info, out_buf, GST_MAP_READWRITE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue