mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
avidemux: also add the frame-type for the stream index
This commit is contained in:
parent
80d820ff29
commit
d8f29266e9
1 changed files with 4 additions and 3 deletions
|
@ -4491,9 +4491,10 @@ gst_avi_demux_add_assoc (GstAviDemux * avi, GstAviStream * stream,
|
|||
GST_FORMAT_BYTES, offset, NULL);
|
||||
/* well, current_total determines TIME and entry DEFAULT (frame #) ... */
|
||||
gst_index_add_association (avi->element_index, stream->index_id,
|
||||
GST_ASSOCIATION_FLAG_NONE,
|
||||
GST_FORMAT_TIME, stream->current_total, GST_FORMAT_BYTES, offset,
|
||||
GST_FORMAT_DEFAULT, stream->current_entry, NULL);
|
||||
keyframe ? GST_ASSOCIATION_FLAG_KEY_UNIT :
|
||||
GST_ASSOCIATION_FLAG_DELTA_UNIT, GST_FORMAT_TIME, stream->current_total,
|
||||
GST_FORMAT_BYTES, offset, GST_FORMAT_DEFAULT, stream->current_entry,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue