af_resample: do not touch the timestamps if we are not resampling
authorAnton Khirnov <anton@khirnov.net>
Thu, 16 Jul 2015 17:26:36 +0000 (19:26 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 19 Jul 2015 07:39:42 +0000 (09:39 +0200)
commit6b15874fc2c3f565732201f7907ae1112727d6ae
tree9471b404eea2d821195f048cbc93aed6f91fbd40
parent6d592fbd0d8e89ecade3fc93b36ea200213dc01c
af_resample: do not touch the timestamps if we are not resampling

This filter currently assumes that the input audio is continuous and
does some timestamps manipulation based on this assumption.

This is unnecessary if we are only converting the channel layout or the
sample format, without resampling. In such a case, just leave the
timestamps as they are.
libavfilter/af_resample.c