Skip to content

Seek within queue if seeking to an already queued keyframe #701

Description

@clsid2

Currently the queues are emptied when seeking. That is wasteful and inefficient particularly for online streams. Could this be improved?

Suppose we are seeking to timestamp X.
For each A/V pin, check if X falls within range of queued frames.
For active video pin (if any), check if X corresponds to a keyframe.

If those conditions are met, then there should be no need to reset the demuxer, right? Just remove all frames from queue up to X and flush pins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions