[FFmpeg-trac] #4989(undetermined:new): avfilter_graph_create_filter() eventually hits pthread::EAGAIN on multi-threading
FFmpeg
trac at avcodec.org
Wed Nov 4 17:46:20 CET 2015
#4989: avfilter_graph_create_filter() eventually hits pthread::EAGAIN on multi-
threading
-------------------------------------+-------------------------------------
Reporter: czhang384 | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by czhang384):
There is some implementation I need to mention with respect to this:
I wrap transcoding.c to a c++ class Transcoder. And to support 2 ffmpeg, I
use map<int, Transcoder> to get/set Transcoder.
I notice there are some multi-thread problems for ffmpeg in other posts:
http://libav-users.943685.n4.nabble.com/Threads-safe-issue-with-
ffmpeg-c-td945683.html.
So I create separate map<int, Transcoder> object on every single thread,
but potentially I guess these two transcoders may leave some small memory
sometimes in multi-thread?
The convertion is correct, but it is just the memory problem I have no
clue about.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4989#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list