avcodec/dvbsubdec: request samples for missing coding methods

This commit is contained in:
Clément Bœsch 2020-08-18 17:21:23 +02:00
parent eb4d220ae1
commit b0f96f663c
1 changed files with 4 additions and 3 deletions

View File

@ -1032,9 +1032,10 @@ static int dvbsub_parse_object_segment(AVCodecContext *avctx,
dvbsub_parse_pixel_data_block(avctx, display, block, bfl, 1,
non_modifying_color);
}
/* } else if (coding_method == 1) {*/
} else if (coding_method == 1) {
avpriv_report_missing_feature(avctx, "coded as a string of characters");
} else if (coding_method == 2) {
avpriv_report_missing_feature(avctx, "progressive coding of pixels");
} else {
av_log(avctx, AV_LOG_ERROR, "Unknown object coding %d\n", coding_method);
}