decodebin3: buffer was received after EOS
Describe your issue
Expected Behavior
a pad shouldn't receive any more buffers after it gets EOS
Observed Behavior
buffer was received after EOS
Setup
-
Operating System:
Buildroot 2022.08-git
- Device: Computer
- GStreamer Version: GStreamer 1.21.0(from latest git with this applied to fix EOS sequence bug)
-
Command line:
PIPEWIRE_LOG_SYSTEMD=false PIPEWIRE_DEBUG=6 GST_DEBUG="9" GST_PLUGIN_FEATURE_RANK=vaapijpegdec:PRIMARY,jpegdec:SECONDARY XDG_RUNTIME_DIR=/run/user/root gst-validate-1.0 pipewiresrc path=40 target-object=41 ! image/jpeg,width=1920,height=1080,framerate=30/1 ! vaapidecodebin ! videoconvert ! fakevideosink num-buffers=10
for eoserror.txt and eosout.txt.
Steps to reproduce the bug
- open terminal
- type
gst-validate-1.0 pipewiresrc path=40 target-object=41 ! decodebin3 ! videoconvert ! fakevideosink num-buffers=10
How reproducible is the bug?
Always
Solutions you have tried
Bug seems to be decodebin3
specific as otherwise identical pipelines don't appear to have this issue when using vaapidecodebin
instead.
Does not have error:
GST_PLUGIN_FEATURE_RANK=vaapijpegdec:PRIMARY,jpegdec:SECONDARY XDG_RUNTIME_DIR=/run/user/root gst-validate-1.0 pipewiresrc path=40 target-object=41 ! image/jpeg,width=1920,height=1080,framerate=30/1 ! vaapidecodebin ! videoconvert ! fakevideosink num-buffers=100
Has error:
GST_PLUGIN_FEATURE_RANK=vaapijpegdec:PRIMARY,jpegdec:SECONDARY XDG_RUNTIME_DIR=/run/user/root gst-validate-1.0 pipewiresrc path=40 target-object=41 ! image/jpeg,width=1920,height=1080,framerate=30/1 ! decodebin3 ! videoconvert ! fakevideosink num-buffers=100
Additional Information
warning : We got a WARNING message on the bus
Detected on <pipeline0>
issue : buffer was received after EOS
Detected on <multiqueue0:src_0, vaapidecode_jpeg0:sink>
Description : a pad shouldn't receive any more buffers after it gets EOS
Issues found: 2
=======> Test PASSED (Return value: 0)