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
@ -5012,6 +5012,7 @@ gst_matroska_demux_video_caps (GstMatroskaTrackVideoContext *
|
|||||||
videocontext->pixel_height);
|
videocontext->pixel_height);
|
||||||
caps = gst_video_info_to_caps (&info);
|
caps = gst_video_info_to_caps (&info);
|
||||||
*codec_name = gst_pb_utils_get_codec_description (caps);
|
*codec_name = gst_pb_utils_get_codec_description (caps);
|
||||||
|
context->alignment = 32;
|
||||||
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_MPEG4_SP)) {
|
} else if (!strcmp (codec_id, GST_MATROSKA_CODEC_ID_VIDEO_MPEG4_SP)) {
|
||||||
caps = gst_caps_new_simple ("video/x-divx",
|
caps = gst_caps_new_simple ("video/x-divx",
|
||||||
"divxversion", G_TYPE_INT, 4, NULL);
|
"divxversion", G_TYPE_INT, 4, NULL);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user