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