FFmpegVideo
FFmpegVideo copied to clipboard
线程安全
如果多个线程执行runcmd, 应该是不安全的吧? 因为ffmpeg.c的代码使用了大量的全局变量, 所以应该同时多个线程执行多个命令会有问题?
是的,外部如果多线程调用,合成可能会出问题
发送自我的三星盖乐世智能手机。
-------- 原始信息 -------- 发件人: alexliyu7352 [email protected] 日期: 2018/12/16 16:13 (GMT+08:00) 收件人: tangyxgit/FFmpegVideo [email protected] 抄送: Subscribed [email protected] 主题: [tangyxgit/FFmpegVideo] 线程安全 (#8)
如果多个线程执行runcmd, 应该是不安全的吧? 因为ffmpeg.c的代码使用了大量的全局变量, 所以应该同时多个线程执行多个命令会有问题?
― You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/tangyxgit/FFmpegVideo/issues/8, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKUgcJGmCEBeneVFXKEqNMRxwoOeokLJks5u5gCigaJpZM4ZVEYr.