diff options
author | Clément Bœsch <u@pkh.me> | 2015-09-11 21:16:08 +0200 |
---|---|---|
committer | Clément Bœsch <clement@stupeflix.com> | 2015-09-12 18:24:49 +0200 |
commit | 8e22becbc7ed7ceeab3f2cebee326c9bd30085e9 (patch) | |
tree | 9b43be5016a2996c4f42d99f878cb8b756b80309 /libavcodec/pgssubdec.c | |
parent | 5cae43e718e5226f3ef4cc3132ca83695a7a5cf4 (diff) | |
download | ffmpeg-8e22becbc7ed7ceeab3f2cebee326c9bd30085e9.tar.gz |
avcodec/pgssubdec: use AV_OPT_TYPE_BOOL for forced_subs_only option
Diffstat (limited to 'libavcodec/pgssubdec.c')
-rw-r--r-- | libavcodec/pgssubdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pgssubdec.c b/libavcodec/pgssubdec.c index 0d307f5302..50fc5b6e64 100644 --- a/libavcodec/pgssubdec.c +++ b/libavcodec/pgssubdec.c @@ -675,7 +675,7 @@ static int decode(AVCodecContext *avctx, void *data, int *data_size, #define OFFSET(x) offsetof(PGSSubContext, x) #define SD AV_OPT_FLAG_SUBTITLE_PARAM | AV_OPT_FLAG_DECODING_PARAM static const AVOption options[] = { - {"forced_subs_only", "Only show forced subtitles", OFFSET(forced_subs_only), AV_OPT_TYPE_INT, {.i64 = 0}, 0, 1, SD}, + {"forced_subs_only", "Only show forced subtitles", OFFSET(forced_subs_only), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, SD}, { NULL }, }; |