修复mk_track_create创建的track无法初始化复用器的bug(#1784, #1778 )

This commit is contained in:
Dw9
2022-07-07 16:48:35 +08:00
committed by ziyue
parent 2e1a45895a
commit c4988e7cfc
5 changed files with 44 additions and 7 deletions

View File

@@ -187,7 +187,6 @@ API_EXPORT int API_CALL mk_media_init_video(mk_media ctx, int codec_id, int widt
info.iWidth = width;
info.iHeight = height;
info.iBitRate = bit_rate;
(*obj)->getChannel()->initVideo(info);
return (*obj)->getChannel()->initVideo(info);
}