mirror of https://github.com/sipwise/rtpengine.git
In many transcoding scenarios resampling is not actually required. We can shortcut the operation by just returning the original frame, instead of a cloned and newly allocated one. We just need to distinguish between the cases to determine whether the frame returned by resample_frame() needs to be freed. Change-Id: I3f36a46bd3b967f140c8353119fdb24ad8363c15pull/1897/head
parent
461f663e58
commit
acc30ec0fa
Loading…
Reference in new issue