avdevice: remove usage of deprecated setter and getter functions