Skip to content

v4l2videodec: Add handle_missing_data implementation

Qi Hou requested to merge hq/gstreamer:handle_missing_data into main

GstVideoDecoderClass::handle_missing_data is used to decide whether the decoder should be drained afterwards, while base class always returns TRUE. There is one case that v4l2 decoder hasn't received any valid frame when sink handle GAP event.

So Add handle_missing_data implemention for subclass v4l2videodec to only return TRUE when src task state is GST_TASK_STARTED.

Merge request reports