This PR fixes the crash when replacing video track with NvCodec.
This issue is caused by this change. At a glance, it is only upgrading NvCodec SDK. however, this contained changing order of NvDecoder constructor's argumenets, that's why always m_nMaxHeight is zero. The first time of evaluating this parameter is replacing video track.
This PR fixes the crash when replacing video track with NvCodec.
This issue is caused by this change. At a glance, it is only upgrading NvCodec SDK. however, this contained changing order of NvDecoder constructor's argumenets, that's why always
m_nMaxHeight
is zero. The first time of evaluating this parameter is replacing video track.