Handling accept-caps improves pipeline caps negotiation and seems to be required for gap-less playback in Gstreamer 1.24.
gst_video_decoder_set_needs_format() just formalizes and ensures handle_frame() isn't called before set_format().
This ensures the decoder will be created first.
Handling accept-caps improves pipeline caps negotiation and seems to be required for gap-less playback in Gstreamer 1.24.
gst_video_decoder_set_needs_format()
just formalizes and ensureshandle_frame()
isn't called beforeset_format()
. This ensures thedecoder
will be created first.