diff options
author | wm4 <wm4@nowhere> | 2020-08-28 20:06:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-08-28 20:06:18 +0200 |
commit | 86068af1785305101bbad842ab7472f5366d2adc (patch) | |
tree | 8baadc686874e414a494e162bff5ce26eab6ad0f /demux/demux.h | |
parent | 2c7139753d1e1530da44b781e9ae7c65874bb677 (diff) | |
download | mpv-86068af1785305101bbad842ab7472f5366d2adc.tar.bz2 mpv-86068af1785305101bbad842ab7472f5366d2adc.tar.xz |
f_async_queue: change reset behavior
Do not make resetting the "access" filters reset the queue itself. This
is more flexible, and will be used in a later commit.
Also, if the queue is not in the reset state while the input access
filter is reset, make it immediately request data again. This is more
consistent, because it'll enter the state it "should" be, rather when
the filter's process function is called at an (essentially) random point
in the future. This means the filter graph will resume work on its own
if the queue was not reset before filter reset.
This could affect the only current user of f_async_queue, the code for
the --vd-queue-enable/--ad-queue-enable feature in f_decoder_wrapper.
But it looks like this already uses it in a compatible way.
Diffstat (limited to 'demux/demux.h')
0 files changed, 0 insertions, 0 deletions