[FFmpeg-devel] [PATCH] swresample/resample: add force_comp argument

Michael Niedermayer michael at niedermayer.cc
Sun Nov 20 19:16:19 EET 2016


On Sun, Nov 20, 2016 at 03:56:28PM +0700, Muhammad Faiz wrote:
> this allow to use phase_count_compensation on init (rather than
> rebuild on swr_set_compensation) when options suggest that
> soft compensation is enabled
> 
> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
> ---
>  libswresample/resample.c            | 4 +++-
>  libswresample/soxr_resample.c       | 2 +-
>  libswresample/swresample.c          | 5 ++++-
>  libswresample/swresample_internal.h | 3 ++-
>  4 files changed, 10 insertions(+), 4 deletions(-)

please document this in the code with a comment or 2
its not immedeatly obvious from reading the code

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Breaking DRM is a little like attempting to break through a door even
though the window is wide open and the only thing in the house is a bunch
of things you dont want and which you would get tomorrow for free anyway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161120/0b253007/attachment.sig>


More information about the ffmpeg-devel mailing list