Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: fix encoding frame crash on iOS 11

2019-09-04 Thread sharp bai
We have tested on iOS 12 and other version. Only on iOS 11 this crash occurs, regardless using which device such as iPhone 8, iPhone X or iPhone 7. Aman Gupta 于2019年9月4日周三 上午7:48写道: > > > > On Mon, Aug 12, 2019 at 11:50 PM sharpbai wrote: >> >> On iOS 11, encoding a frame may return error with l

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: fix encoding frame crash on iOS 11

2019-09-03 Thread Aman Gupta
On Mon, Aug 12, 2019 at 11:50 PM sharpbai wrote: > On iOS 11, encoding a frame may return error with log > "Error encoding frame 0", which means vtenc_output_callback > is called with status=0 and sample_buffer=NULL. Then the > encoding session will be crashed on next callback wether or not > clo

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: fix encoding frame crash on iOS 11

2019-08-12 Thread sharpbai
On iOS 11, encoding a frame may return error with log "Error encoding frame 0", which means vtenc_output_callback is called with status=0 and sample_buffer=NULL. Then the encoding session will be crashed on next callback wether or not closing the codec context. Let us look through the link below i