Unified · Split
| @@ -945,13 +945,13 @@ HRESULT decklink_input_callback::VideoInputFrameArrived( · 944 unmodified lines | |||
| 945 | 945 | ||
| 946 | if (videoFrame->GetAncillaryData(&vanc) == S_OK) { | 946 | if (videoFrame->GetAncillaryData(&vanc) == S_OK) { |
| 947 | int i; | 947 | int i; |
| 948 | int64_t line_mask = 1; | ||
| 949 | BMDPixelFormat vanc_format = vanc->GetPixelFormat(); | 948 | BMDPixelFormat vanc_format = vanc->GetPixelFormat(); |
| 950 | txt_buf[0] = 0x10; // data_identifier - EBU_data | 949 | txt_buf[0] = 0x10; // data_identifier - EBU_data |
| 951 | txt_buf++; | 950 | txt_buf++; |
| 952 | #if CONFIG_LIBZVBI | 951 | #if CONFIG_LIBZVBI |
| 953 | if (ctx->bmd_mode == bmdModePAL && ctx->teletext_lines && | 952 | if (ctx->bmd_mode == bmdModePAL && ctx->teletext_lines && |
| 954 | (vanc_format == bmdFormat8BitYUV || vanc_format == bmdFormat10BitYUV)) { | 953 | (vanc_format == bmdFormat8BitYUV || vanc_format == bmdFormat10BitYUV)) { |
| 954 | int64_t line_mask = 1; | ||
| 955 | av_assert0(videoFrame->GetWidth() == 720); | 955 | av_assert0(videoFrame->GetWidth() == 720); |
| 956 | for (i = 6; i < 336; i++, line_mask <<= 1) { | 956 | for (i = 6; i < 336; i++, line_mask <<= 1) { |
| 957 | uint8_t *buf; | 957 | uint8_t *buf; |