gstreamer/ext/libav
Alicia Boya García b7d450b118 gstavviddec: Limit default number of decoder threads
When the `max-threads` property is not specified, GStreamer defaults to
the amount of CPU threads in the system.

The number of threads used in avdec has a direct impact on the latency
of the decoder, which is of as many frames as threads. Therefore, big
numbers of threads can make latency levels that can be problematic in
some applications.

For this reason, ffmpeg emits a warning when more than 16 threads are
requested.

This patch limits the default number of threads to 16. This affects only
computers with more than 16 CPU threads when using avviddec without
setting `max-threads`.
2019-12-19 21:59:44 +00:00
..
gstav.c gstav: Use libavcodec util function for version check 2019-04-29 16:02:05 +00:00
gstav.h libav: Fix symbol redefine build error 2018-07-19 12:21:01 +01:00
gstavauddec.c avauddec: Don't warn if drain is successful 2019-08-01 16:27:35 -04:00
gstavauddec.h avauddec: fix decoding of APE and Cook audio 2019-03-04 11:54:15 +00:00
gstavaudenc.c avaudenc: fix memory leak of refcontext after finalize. 2019-07-12 14:44:12 +02:00
gstavaudenc.h avaudenc: install options generically 2018-07-13 00:53:27 +02:00
gstavcfg.c avcfg: Override type of bitrate property from int64 to int 2019-04-09 16:56:20 +03:00
gstavcfg.h avaudenc: install options generically 2018-07-13 00:53:27 +02:00
gstavcodecmap.c avviddec,avcodemap: Use new helper function for map color space information 2019-09-24 23:52:11 +09:00
gstavcodecmap.h avauddec: add support for decoding in non-interleaved layout 2018-07-23 16:16:10 +03:00
gstavdeinterlace.c Remove all uses of AVPicture 2018-07-13 00:53:26 +02:00
gstavdemux.c avdemux: Fix segmentation fault if long_name is NULL 2019-11-04 16:14:05 +01:00
gstavmux.c avmux: fix remaining warnings 2018-07-13 00:53:27 +02:00
gstavprotocol.c
gstavprotocol.h
gstavutils.c Remove all uses of AVPicture 2018-07-13 00:53:26 +02:00
gstavutils.h Remove all uses of AVPicture 2018-07-13 00:53:26 +02:00
gstavviddec.c gstavviddec: Limit default number of decoder threads 2019-12-19 21:59:44 +00:00
gstavviddec.h avviddec: Add thread-type property 2019-07-18 00:05:21 +02:00
gstavvidenc.c avvidenc: Fix error propagation 2019-11-29 11:33:41 +01:00
gstavvidenc.h Refactor avcfg / avvidenc 2018-07-13 00:53:26 +02:00
meson.build docs: Port to hotdoc 2019-05-13 17:00:00 -04:00