[FFmpeg-trac] #9005(avdevice:new): decklink: v210 FourCC has wrong case

FFmpeg trac at avcodec.org
Tue Nov 24 00:29:02 EET 2020


#9005: decklink: v210 FourCC has wrong case
------------------------------------+------------------------------------
             Reporter:  carbenium   |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avdevice
              Version:  git-master  |               Resolution:
             Keywords:  decklink    |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * keywords:   => decklink
 * version:  unspecified => git-master


Comment:

 Does this inlined patch fix the issue for you?
 {{{
 diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp
 index 6517b9df13..dd8c3b7d95 100644
 --- a/libavdevice/decklink_dec.cpp
 +++ b/libavdevice/decklink_dec.cpp
 @@ -1286,7 +1286,7 @@ av_cold int ff_decklink_read_header(AVFormatContext
 *avctx)
          break;
      case bmdFormat10BitYUV:
          st->codecpar->codec_id    = AV_CODEC_ID_V210;
 -        st->codecpar->codec_tag   = MKTAG('V','2','1','0');
 +        st->codecpar->codec_tag   = MKTAG('v','2','1','0');
          st->codecpar->bit_rate    = av_rescale(ctx->bmd_width *
 ctx->bmd_height * 64, st->time_base.den, st->time_base.num * 3);
          st->codecpar->bits_per_coded_sample = 10;
          break;
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/9005#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list