matroskademux: Remove leftover assertion from 0.10
authorSebastian Dröge <sebastian@centricular.com>
Mon, 28 Sep 2015 16:03:51 +0000 (18:03 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 28 Sep 2015 16:03:51 +0000 (18:03 +0200)
We now allocate memory via GstAllocator and as such can handle arbitrary
alignments, not only <= G_MEM_ALIGN.

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

gst/matroska/matroska-demux.c

index 0937fb7..6612107 100644 (file)
@@ -3701,7 +3701,6 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
          for 32 bit samples, etc), or bad things will happen downstream as
          elements typically assume minimal alignment.
          Therefore, create an aligned copy if necessary. */
-      g_assert (stream->alignment <= G_MEM_ALIGN);
       sub = gst_matroska_demux_align_buffer (demux, sub, stream->alignment);
 
       if (GST_BUFFER_PTS_IS_VALID (sub)) {