avdevice: remove usage of deprecated setter and getter functions
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
5cc5130c81
commit
2245476e5c
3 changed files with 4 additions and 4 deletions
|
|
@ -959,7 +959,7 @@ av_cold int ff_decklink_read_header(AVFormatContext *avctx)
|
|||
|
||||
st->time_base.den = ctx->bmd_tb_den;
|
||||
st->time_base.num = ctx->bmd_tb_num;
|
||||
av_stream_set_r_frame_rate(st, av_make_q(st->time_base.den, st->time_base.num));
|
||||
st->r_frame_rate = av_make_q(st->time_base.den, st->time_base.num));
|
||||
|
||||
switch((BMDPixelFormat)cctx->raw_format) {
|
||||
case bmdFormat8BitYUV:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue