unsafe extern "C" fn video_decoder_src_event<T: VideoDecoderImpl>(
    ptr: *mut GstVideoDecoder,
    event: *mut GstEvent,
) -> gboolean