summaryrefslogtreecommitdiff
path: root/libavcodec/options.c
diff options
context:
space:
mode:
authorhakuya <erikmiranda@gmail.com>2012-04-15 21:58:40 -0400
committerMichael Niedermayer <michaelni@gmx.at>2012-04-30 19:48:21 +0200
commit79e5902cf163dcb8b6539618936ff0ce28f742e4 (patch)
treebe00c4d77d86f5106cd802e72eb0bd59d5f23302 /libavcodec/options.c
parent1f46b50a9591f68b697e943f829c79a4f4829dd6 (diff)
Exposing forced flag for DVD and PGS subtitles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/options.c')
-rw-r--r--libavcodec/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/options.c b/libavcodec/options.c
index f4daf14018..a08b7e5225 100644
--- a/libavcodec/options.c
+++ b/libavcodec/options.c
@@ -264,6 +264,7 @@ static const AVOption subtitle_rect_options[]={
{"w", "", SROFFSET(w), AV_OPT_TYPE_INT, {.dbl = 0 }, 0, INT_MAX, 0},
{"h", "", SROFFSET(h), AV_OPT_TYPE_INT, {.dbl = 0 }, 0, INT_MAX, 0},
{"type", "", SROFFSET(type), AV_OPT_TYPE_INT, {.dbl = 0 }, 0, INT_MAX, 0},
+{"forced", "", SROFFSET(forced), AV_OPT_TYPE_INT, {.dbl = 0}, 0, 1, 0},
{NULL},
};