@ -520,9 +520,15 @@ static const AVOption avcodec_options[] = {
{ " do_nothing " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_CHARENC_MODE_DO_NOTHING } , INT_MIN , INT_MAX , S | D , " sub_charenc_mode " } ,
{ " auto " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_CHARENC_MODE_AUTOMATIC } , INT_MIN , INT_MAX , S | D , " sub_charenc_mode " } ,
{ " pre_decoder " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_CHARENC_MODE_PRE_DECODER } , INT_MIN , INT_MAX , S | D , " sub_charenc_mode " } ,
# if FF_API_ASS_TIMING
{ " sub_text_format " , " set decoded text subtitle format " , OFFSET ( sub_text_format ) , AV_OPT_TYPE_INT , { . i64 = FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS } , 0 , 1 , S | D , " sub_text_format " } ,
# else
{ " sub_text_format " , " set decoded text subtitle format " , OFFSET ( sub_text_format ) , AV_OPT_TYPE_INT , { . i64 = FF_SUB_TEXT_FMT_ASS } , 0 , 1 , S | D , " sub_text_format " } ,
# endif
{ " ass " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_TEXT_FMT_ASS } , INT_MIN , INT_MAX , S | D , " sub_text_format " } ,
# if FF_API_ASS_TIMING
{ " ass_with_timings " , NULL , 0 , AV_OPT_TYPE_CONST , { . i64 = FF_SUB_TEXT_FMT_ASS_WITH_TIMINGS } , INT_MIN , INT_MAX , S | D , " sub_text_format " } ,
# endif
{ " refcounted_frames " , NULL , OFFSET ( refcounted_frames ) , AV_OPT_TYPE_BOOL , { . i64 = 0 } , 0 , 1 , A | V | D } ,
# if FF_API_SIDEDATA_ONLY_PKT
{ " side_data_only_packets " , NULL , OFFSET ( side_data_only_packets ) , AV_OPT_TYPE_BOOL , { . i64 = 1 } , 0 , 1 , A | V | E } ,