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

LWLibavSource: repeat support is too much guesswork #2

Closed
AkarinVS opened this issue Jun 3, 2021 · 0 comments
Closed

LWLibavSource: repeat support is too much guesswork #2

AkarinVS opened this issue Jun 3, 2021 · 0 comments

Comments

@AkarinVS
Copy link
Owner

AkarinVS commented Jun 3, 2021

There is no guarantee that the repeat request is fully obeyed.

Instead, I'm proposing that if repeat=1 and the source video requested repeat, yet the source filter is somehow unable to process the repetition, the filter should fail explicitly and give the user the option to use repeat=0 to get a VFR clip. It should not silently return a VFR clip with the incorrect fps, which is much worse than failing.

AkarinVS added a commit that referenced this issue Jun 3, 2021
If repeat=1 and the input video requested repeat, but the source filter
is somehow unable to obey it, fail explicitly instead of silently returning
a VFR clip with a constant (but wrong) fps.

Fixes #2.

Signed-off-by: akarin <[email protected]>
AkarinVS added a commit that referenced this issue Jun 3, 2021
If repeat=1 and the input video requested repeat, but the source filter
is somehow unable to obey it, fail explicitly instead of silently returning
a VFR clip with a constant (but wrong) fps.

To revert to the previous behavior, set repeat=2.

Fixes #2.

Signed-off-by: akarin <[email protected]>
AkarinVS added a commit that referenced this issue Jun 3, 2021
If repeat=1 and the input video requested repeat, but the source filter
is somehow unable to obey it, fail explicitly instead of silently returning
a VFR clip with a constant (but wrong) fps.

To revert to the previous behavior, set repeat=2.

Fixes #2.

Signed-off-by: akarin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant