]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/dvbsubdec: request samples for missing coding methods
authorClément Bœsch <u@pkh.me>
Tue, 18 Aug 2020 15:21:23 +0000 (17:21 +0200)
committerClément Bœsch <u@pkh.me>
Sat, 22 Aug 2020 17:02:01 +0000 (19:02 +0200)
libavcodec/dvbsubdec.c

index c179f6461c99d8cfda175918124beed337cae888..1b75a2a46ba7f8e50b75c1aae3a7a87da521e036 100644 (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);
     }