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