[FFmpeg-cvslog] avfilter/volume: use AV_OPT_TYPE_BOOL for replaygain_noclip option
Clément Bœsch
git at videolan.org
Tue Sep 8 23:20:05 CEST 2015
ffmpeg | branch: master | Clément Bœsch <u at pkh.me> | Tue Sep 8 23:18:33 2015 +0200| [ed28dd63018bb504b137e2eca53dd12c3f901f52] | committer: Clément Bœsch
avfilter/volume: use AV_OPT_TYPE_BOOL for replaygain_noclip option
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ed28dd63018bb504b137e2eca53dd12c3f901f52
---
libavfilter/af_volume.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c
index 54bffa6..57275b4 100644
--- a/libavfilter/af_volume.c
+++ b/libavfilter/af_volume.c
@@ -82,7 +82,7 @@ static const AVOption volume_options[] = {
{ "replaygain_preamp", "Apply replaygain pre-amplification",
OFFSET(replaygain_preamp), AV_OPT_TYPE_DOUBLE, { .dbl = 0.0 }, -15.0, 15.0, A },
{ "replaygain_noclip", "Apply replaygain clipping prevention",
- OFFSET(replaygain_noclip), AV_OPT_TYPE_INT, { .i64 = 1 }, 0, 1, A },
+ OFFSET(replaygain_noclip), AV_OPT_TYPE_BOOL, { .i64 = 1 }, 0, 1, A },
{ NULL },
};
More information about the ffmpeg-cvslog
mailing list