summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2020-07-01 12:28:05 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2020-07-02 12:21:51 -0400
commit1bef43f9d4a8ff7b5f4ca72a9bf83f21776d1224 (patch)
tree3f3c01f736671925a8c9eb3b80c4ff0baac9fa69 /meson.build
parenta88e63dd2ff8cb3991b79f140915810da9b5ca8d (diff)
downloadgstreamer-plugins-bad-1bef43f9d4a8ff7b5f4ca72a9bf83f21776d1224.tar.gz
v4l2decoder: Track pending request
With the asynchronous slice decoding, we only queue up to 2 slices per frames. That side effect is that now we are dequeuing bitstream buffers in both decoding and presentation order. This would lead to a bitstream buffer from a previous frame being dequeued instead of the expected last slice buffer and lead to us trying to queue an already queued bitstream buffer. We now fix this by tracking pending requests. As request are executed in decoding order, we marking a request done, we can effectively dequeue bitstream buffer from all previous request, as they have been executed already. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1395>
Diffstat (limited to 'meson.build')
0 files changed, 0 insertions, 0 deletions