]> git.sesse.net Git - ffmpeg/commitdiff
avdevice/decklink_dec: fix multipacket op47 decoding
authorMarton Balint <cus@passwd.hu>
Sat, 30 Sep 2017 21:40:45 +0000 (23:40 +0200)
committerMarton Balint <cus@passwd.hu>
Wed, 4 Oct 2017 20:44:42 +0000 (22:44 +0200)
It was disabled by mistake.

Signed-off-by: Marton Balint <cus@passwd.hu>
libavdevice/decklink_dec.cpp

index 53ff576ec5975394555994aa4dda76ec81a98496..f496a580595d44b0e791efee03a02db1944a17c0 100644 (file)
@@ -379,7 +379,7 @@ uint8_t *get_metadata(AVFormatContext *avctx, uint16_t *buf, size_t width,
                 av_log(avctx, AV_LOG_WARNING, "VANC parity or checksum incorrect\n");
                 goto skip_packet;
             }
-            tgt = teletext_data_unit_from_ancillary_packet(buf + 3, buf + len, tgt, cctx->teletext_lines, 0);
+            tgt = teletext_data_unit_from_ancillary_packet(buf + 3, buf + len, tgt, cctx->teletext_lines, 1);
         } else if (did == 0x61 && sdid == 0x01) {
             unsigned int data_len;
             uint8_t *data;