Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getVideoField: when seeking forward isn't possible, try reading and discarding #473

Merged
merged 1 commit into from
Mar 23, 2020

Commits on Mar 8, 2020

  1. When seeking forward isn't possible, try skipping.

    When SourceVideo::getVideoField is reading video from an unseekable
    source, like a pipe, trying to seek forward to a field later in the file
    would fail -- which, for example, means you couldn't use
    "ld-chroma-decoder -s" when input was from a pipe.
    
    Make it try to read and discard data instead when seeking forward fails.
    If reading fails or hits the end of the input stream, it'll report an
    error as before.
    atsampson committed Mar 8, 2020
    Configuration menu
    Copy the full SHA
    29bb8a5 View commit details
    Browse the repository at this point in the history