mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
matroskademux: Align raw video frames to 32 bytes
Outputting unaligned video frames causes videoscale et al to crash when attempting SIMD-accelerated conversion. https://bugzilla.gnome.org/show_bug.cgi?id=736965
This commit is contained in:
parent
6a8194e121
commit
3f8efd8af8
1 changed files with 1 additions and 0 deletions
|
@ -5012,6 +5012,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||
videocontext->pixel_height);
|
||||
caps = gst_video_info_to_caps (&info);
|
||||
*codec_name = gst_pb_utils_get_codec_description (caps);
|
||||
context->alignment = 32;
|
||||
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_MPEG4_SP)) {
|
||||
caps = gst_caps_new_simple ("video/x-divx",
|
||||
"divxversion", G_TYPE_INT, 4, NULL);
|
||||
|
|
Loading…
Reference in a new issue