matroskademux: Remove leftover assertion from 0.10

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
This commit is contained in:
Sebastian Dröge 2015-09-28 18:03:51 +02:00
parent 35139ee8b7
commit 1cd4baa16a

View 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 for 32 bit samples, etc), or bad things will happen downstream as
elements typically assume minimal alignment. elements typically assume minimal alignment.
Therefore, create an aligned copy if necessary. */ Therefore, create an aligned copy if necessary. */
g_assert (stream->alignment <= G_MEM_ALIGN);
sub = gst_matroska_demux_align_buffer (demux, sub, stream->alignment); sub = gst_matroska_demux_align_buffer (demux, sub, stream->alignment);
if (GST_BUFFER_PTS_IS_VALID (sub)) { if (GST_BUFFER_PTS_IS_VALID (sub)) {