Showing the changes to libavdevice/decklink_dec.cpp (1 of 2 files). Show all
Unified · Split
| @@ -965,13 +965,13 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx) · 964 unmodified lines | ||
| 965 | 965 | case bmdFormat8BitARGB: |
| 966 | 966 | st->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO; |
| 967 | 967 | st->codecpar->codec_tag = avcodec_pix_fmt_to_codec_tag((enum AVPixelFormat)st->codecpar->format);; |
| 968 | − st->codecpar->format = AV_PIX_FMT_ARGB; | |
| 968 | + st->codecpar->format = AV_PIX_FMT_0RGB; | |
| 969 | 969 | st->codecpar->bit_rate = av_rescale(ctx->bmd_width * ctx->bmd_height * 32, st->time_base.den, st->time_base.num); |
| 970 | 970 | break; |
| 971 | 971 | case bmdFormat8BitBGRA: |
| 972 | 972 | st->codecpar->codec_id = AV_CODEC_ID_RAWVIDEO; |
| 973 | 973 | st->codecpar->codec_tag = avcodec_pix_fmt_to_codec_tag((enum AVPixelFormat)st->codecpar->format); |
| 974 | − st->codecpar->format = AV_PIX_FMT_BGRA; | |
| 974 | + st->codecpar->format = AV_PIX_FMT_BGR0; | |
| 975 | 975 | st->codecpar->bit_rate = av_rescale(ctx->bmd_width * ctx->bmd_height * 32, st->time_base.den, st->time_base.num); |
| 976 | 976 | break; |
| 977 | 977 | case bmdFormat10BitRGB: |