gst/matroska/matroska-demux.c: Flag keyframe and delta units correctly when dealign with a

Original commit message from CVS:
2008-02-08  Julien Moutte  <julien@fluendo.com>

* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup_or_simpleblock): Flag
keyframe and delta units correctly when dealign with a
BlockGroup.
Fixes: #514397
This commit is contained in:
Julien Moutte 2008-02-08 15:20:31 +00:00
parent 49d2efed86
commit 19a278f7d8
3 changed files with 14 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2008-02-08 Julien Moutte <julien@fluendo.com>
* gst/matroska/matroska-demux.c:
(gst_matroska_demux_parse_blockgroup_or_simpleblock): Flag
keyframe and delta units correctly when dealign with a BlockGroup.
Fixes: #514397
2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
* tests/check/elements/.cvsignore:

2
common

@ -1 +1 @@
Subproject commit 8b37d7ee833fab1d25b484d8574df3dae231b5f2
Subproject commit df7f73bd454e0b0ee7870d8c85874aba9329fd2e

View file

@ -2925,6 +2925,12 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
GST_BUFFER_FLAG_UNSET (sub, GST_BUFFER_FLAG_DELTA_UNIT);
else
GST_BUFFER_FLAG_SET (sub, GST_BUFFER_FLAG_DELTA_UNIT);
} else {
if (referenceblock) {
GST_BUFFER_FLAG_SET (sub, GST_BUFFER_FLAG_DELTA_UNIT);
} else {
GST_BUFFER_FLAG_UNSET (sub, GST_BUFFER_FLAG_DELTA_UNIT);
}
}
if (stream->set_discont) {