From 3f8efd8af84365e79c45ec1ec964e4cc1a24bda1 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Mon, 31 Aug 2015 12:46:52 +0200 Subject: [PATCH] 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 --- gst/matroska/matroska-demux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c index 1d84abca6f..01a65ffbc7 100644 --- a/gst/matroska/matroska-demux.c +++ b/gst/matroska/matroska-demux.c @@ -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);