Commit 3f8efd8a authored by Jan Alexander Steffens (heftig)'s avatar Jan Alexander Steffens (heftig) Committed by Sebastian Dröge
Browse files

matroskademux: Align raw video frames to 32 bytes

Outputting unaligned video frames causes videoscale et al to
crash when attempting SIMD-accelerated conversion.
parent 6a8194e1
......@@ -5012,6 +5012,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment