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
@ -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…
x
Reference in New Issue
Block a user