Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: use nb_threads=1 on unused filtergraph

2017-11-18 Thread Michael Niedermayer
On Sat, Nov 18, 2017 at 11:15:55AM -0500, DeHackEd wrote: > On 11/18/2017 05:56 AM, Michael Niedermayer wrote: > > On Thu, Nov 16, 2017 at 08:25:50PM -0500, DeHackEd wrote: > >> diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c > >> index aacc185..877fd67 100644 > >> ---

Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: use nb_threads=1 on unused filtergraph

2017-11-18 Thread DeHackEd
On 11/18/2017 05:56 AM, Michael Niedermayer wrote: > On Thu, Nov 16, 2017 at 08:25:50PM -0500, DeHackEd wrote: >> diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c >> index aacc185..877fd67 100644 >> --- a/fftools/ffmpeg_filter.c >> +++ b/fftools/ffmpeg_filter.c >> @@ -340,6 +340,7 @@

Re: [FFmpeg-devel] [PATCH] ffmpeg_filter: use nb_threads=1 on unused filtergraph

2017-11-18 Thread Michael Niedermayer
On Thu, Nov 16, 2017 at 08:25:50PM -0500, DeHackEd wrote: > Hello, > > Simple one-line patch to avoid creating threads on a filtergrpah which does > not > get used during execution. This saves a superfluous thread creation and > tear-down cycle. > > Besides cleanliness, the main driver for this

[FFmpeg-devel] [PATCH] ffmpeg_filter: use nb_threads=1 on unused filtergraph

2017-11-16 Thread DeHackEd
Hello, Simple one-line patch to avoid creating threads on a filtergrpah which does not get used during execution. This saves a superfluous thread creation and tear-down cycle. Besides cleanliness, the main driver for this feature is a system I have access to with a large number of cores/threads.