mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
matroskademux: Don't skip all video frames until the first keyframe
Instead do it like all other demuxers and let parsers and decoders handle that. The keyframe information inside the container might be completely wrong like in the sample file of the bug report, and if it is correct and we push no keyframes, then the parsers and decoders will handle that properly anyway. https://bugzilla.gnome.org/show_bug.cgi?id=682276
This commit is contained in:
parent
52fc078310
commit
809d105982
1 changed files with 0 additions and 7 deletions
|
@ -3522,13 +3522,6 @@ gst_matroska_demux_parse_blockgroup_or_simpleblock (GstMatroskaDemux * demux,
|
|||
}
|
||||
}
|
||||
|
||||
if (delta_unit && stream->set_discont) {
|
||||
/* When doing seeks or such, we need to restart on key frames or
|
||||
* decoders might choke. */
|
||||
GST_DEBUG_OBJECT (demux, "skipping delta unit");
|
||||
goto done;
|
||||
}
|
||||
|
||||
for (n = 0; n < laces; n++) {
|
||||
GstBuffer *sub;
|
||||
|
||||
|
|
Loading…
Reference in a new issue