Commit 8e22becb authored by Clément Bœsch's avatar Clément Bœsch Committed by Clément Bœsch

avcodec/pgssubdec: use AV_OPT_TYPE_BOOL for forced_subs_only option

parent 5cae43e7
......@@ -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 },
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment