summaryrefslogtreecommitdiff
path: root/libavcodec/dvbsubdec.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2020-08-18 17:21:23 +0200
committerClément Bœsch <u@pkh.me>2020-08-22 19:02:01 +0200
commitb0f96f663c72801227f644ef86911c499859da0e (patch)
treed5b66d7228f4925fd2c1c1899de456e9ac25a648 /libavcodec/dvbsubdec.c
parenteb4d220ae10af989f598eb40909da7c4f3e8474a (diff)
avcodec/dvbsubdec: request samples for missing coding methods
Diffstat (limited to 'libavcodec/dvbsubdec.c')
-rw-r--r--libavcodec/dvbsubdec.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/dvbsubdec.c b/libavcodec/dvbsubdec.c
index c179f6461c..1b75a2a46b 100644
--- a/libavcodec/dvbsubdec.c
+++ b/libavcodec/dvbsubdec.c
@@ -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);
}