mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
c363747251
Previously this would've only set discont=TRUE and then for all future buffers simply returned immediately. Instead we also need to a) drain previous input until its buffer time b) update next_ts and base_ts accordingly for the gap c) actually store the new buffer after the gap so it can be used in the future and so the old buffer before the gap is gone Also update the unit test accordingly so that it actually tests for this behaviour. Previously it only tested that after the gap we got no output at all. |
||
---|---|---|
.. | ||
gstvideorate.c | ||
gstvideorate.h | ||
meson.build |