matroskademux: Remove leftover assertion from 0.10
authorSebastian Dröge <sebastian@centricular.com>
Mon, 28 Sep 2015 16:03:51 +0000 (18:03 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 29 Sep 2015 10:18:54 +0000 (11:18 +0100)
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 01a65ff..2fb4928 100644 (file)
@@ -3700,7 +3700,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)) {