[Bug 736965] Video conversion segfaults when reading unaligned buffers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 26 06:47:18 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=736965

--- Comment #8 from Jan Alexander Steffens (heftig) <jan.steffens at gmail.com> ---
It seems I've found a workaround:

diff --git i/gst/matroska/matroska-demux.c w/gst/matroska/matroska-demux.c
index 1d84abc..01a65ff 100644
--- i/gst/matroska/matroska-demux.c
+++ w/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);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list