mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
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:
parent
35139ee8b7
commit
1cd4baa16a
1 changed files with 0 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue