提交 315fbd6f 编写于 作者: E Eric Lindvall 提交者: Jim

obs-ffmpeg: Treat EINVAL as non-fatal in ffmpeg-mux

上级 484084ab
......@@ -807,8 +807,8 @@ static inline bool ffmpeg_mux_packet(struct ffmpeg_mux *ffm, uint8_t *buf,
ret, av_err2str(ret));
}
/* Treat "Invalid data found when processing input" as non-fatal */
if (ret == AVERROR_INVALIDDATA) {
/* Treat "Invalid data found when processing input" and "Invalid argument" as non-fatal */
if (ret == AVERROR_INVALIDDATA || ret == EINVAL) {
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册