ffmpeg/libavfilter
Derek Buitenhuis eb90a2091f pthread: Fix deadlock during thread initialization
Sometimes, if pthread_create() failed, then pthread_cond_wait() could
accidentally be called in the worker threads after the uninit function
had already called pthread_cond_broadcast(), leading to a deadlock.

Don't call pthread_cond_wait() if c->done is set.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-13 05:50:00 -04:00
..
x86 Consistently use "cpu_flags" as variable/parameter name for CPU flags 2013-07-18 00:31:35 +02:00
Makefile lavfi: add a slice threading infrastructure 2013-05-24 09:28:18 +02:00
af_aformat.c af_aformat: cosmetics, fix indentation 2013-05-17 20:30:02 +02:00
af_amix.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_anull.c lavfi: convert input/ouput list compound literals to named objects 2012-10-10 22:26:12 +01:00
af_ashowinfo.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_asyncts.c af_asyncts: fix offset calculation 2013-05-10 09:31:27 +02:00
af_channelmap.c af_channelmap: ensure the output channel layout is valid. 2013-04-30 11:16:37 +02:00
af_channelsplit.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_join.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_resample.c af_resample: switch to an AVOptions-based system. 2013-04-09 18:45:50 +02:00
af_volume.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
af_volume.h x86: af_volume: add SSE2-optimized s16 volume scaling 2012-12-05 11:23:37 -05:00
allfilters.c lavfi: add trim and atrim filters. 2013-04-30 11:24:57 +02:00
asink_anullsink.c lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
asrc_anullsrc.c asrc_anullsrc: return EOF, not -1 2013-03-16 05:36:46 +01:00
audio.c lavfi: switch ff_default_get_audio_buffer() to av_frame_get_buffer() 2013-06-18 11:21:16 +02:00
audio.h lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
avfilter.c lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
avfilter.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
avfiltergraph.c lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
avfiltergraph.h lavfi: merge avfiltergraph.h into avfilter.h 2013-04-11 20:33:33 +02:00
buffer.c avfilter: Add some missing FF_API_AVFILTERBUFFER ifdefs 2013-07-31 19:23:00 +02:00
buffersink.c Disable deprecation warnings for cases where a replacement is available 2013-08-02 19:19:02 +02:00
buffersink.h lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
buffersrc.c Disable deprecation warnings for cases where a replacement is available 2013-08-02 19:19:02 +02:00
buffersrc.h lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
drawutils.c lavfi: do not use av_pix_fmt_descriptors directly. 2012-10-12 12:45:39 +02:00
drawutils.h Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat 2012-10-08 07:13:26 +02:00
fifo.c lavfi/fifo: fix flushing when using request_samples 2013-08-05 10:52:00 +02:00
filtfmts.c lavfi: filtfmts: use newer avfilter APIs 2013-07-19 12:22:30 +03:00
formats.c lavfi: rename AVFilterFormats.format_count to nb_formats 2013-05-17 20:29:50 +02:00
formats.h lavfi: rename AVFilterFormats.format_count to nb_formats 2013-05-17 20:29:50 +02:00
gradfun.h vf_gradfun: switch to an AVOptions-based system. 2013-04-09 19:04:57 +02:00
graphparser.c graphparser: only print filter arguments if they are non-NULL 2013-04-30 11:16:57 +02:00
internal.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
libavfilter.v Add symbol versioning for shared libraries 2010-01-16 04:49:02 +00:00
pthread.c pthread: Fix deadlock during thread initialization 2013-10-13 05:50:00 -04:00
setpts.c Remove commented-out debug #define cruft 2013-05-16 00:23:30 +02:00
split.c avfilter: Add av_cold attributes to init/uninit functions 2013-05-04 21:10:05 +02:00
thread.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
trim.c lavfi: add trim and atrim filters. 2013-04-30 11:24:57 +02:00
version.h lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
vf_aspect.c vf_setdar: make config_props work properly when called multiple times. 2013-05-17 07:43:44 +02:00
vf_blackframe.c vf_blackframe: use the name 's' for the pointer to the private context 2013-05-16 07:30:41 +02:00
vf_boxblur.c vf_boxblur: use the name 's' for the pointer to the private context 2013-05-16 07:30:56 +02:00
vf_copy.c lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
vf_crop.c vf_crop: make config_props work properly when called multiple times. 2013-05-17 07:43:57 +02:00
vf_cropdetect.c vf_cropdetect: use the name 's' for the pointer to the private context 2013-05-16 07:31:50 +02:00
vf_delogo.c vf_delogo: use the name 's' for the pointer to the private context 2013-05-16 07:31:57 +02:00
vf_drawbox.c vf_drawbox: make config_props work properly when called multiple times. 2013-05-17 07:43:17 +02:00
vf_drawtext.c vf_drawtext: don't leak the expressions. 2013-05-17 07:44:04 +02:00
vf_fade.c vf_fade: support slice threading 2013-05-24 09:33:05 +02:00
vf_fieldorder.c vf_fieldorder: use the name 's' for the pointer to the private context 2013-05-16 07:33:07 +02:00
vf_format.c vf_format: do not use the AVFilterFormats internals. 2013-05-17 20:30:17 +02:00
vf_fps.c vf_fps: use double constants for default/min/max for start_time 2013-08-28 17:54:47 +03:00
vf_frei0r.c vf_frei0r: make config_props work properly when called multiple times. 2013-05-17 07:42:46 +02:00
vf_gradfun.c avisynth: Fix a "AVISynth" vs. "AviSynth" struct name typo 2013-07-29 20:09:59 +02:00
vf_hflip.c vf_hflip: use the name 's' for the pointer to the private context 2013-05-16 07:33:38 +02:00
vf_hqdn3d.c vf_hqdn3d: make config_props work properly when called multiple times. 2013-05-17 07:44:12 +02:00
vf_hqdn3d.h vf_hqdn3d: switch to an AVOptions-based system. 2013-04-09 19:05:12 +02:00
vf_interlace.c vf_interlace: do not process an already interlaced frame 2013-10-02 16:40:49 +02:00
vf_libopencv.c vf_libopencv: use the name 's' for the pointer to the private context 2013-05-16 07:35:53 +02:00
vf_lut.c vf_lut: Constantize 2013-08-31 16:13:42 +02:00
vf_null.c lavfi: merge start_frame/draw_slice/end_frame 2012-11-28 08:50:19 +01:00
vf_overlay.c vf_overlay: use the name 's' for the pointer to the private context 2013-05-16 07:36:04 +02:00
vf_pad.c vf_pad: use the name 's' for the pointer to the private context 2013-05-16 07:36:10 +02:00
vf_pixdesctest.c vf_pixdesctest: make config_props work properly when called multiple times. 2013-05-17 07:44:23 +02:00
vf_scale.c pixdesc: rename PIX_FMT_* flags to AV_PIX_FMT_FLAG_* 2013-05-15 07:46:51 +02:00
vf_select.c lavfi: remove now unused args parameter from AVFilter.init 2013-04-09 19:12:38 +02:00
vf_settb.c vf_settb: switch to an AVOptions-based system. 2013-04-09 19:07:44 +02:00
vf_showinfo.c vf_showinfo: remove its useless init function 2013-03-16 05:36:14 +01:00
vf_transpose.c vf_transpose: switch to an AVOptions-based system. 2013-04-09 19:08:04 +02:00
vf_unsharp.c lavfi: remove now unused args parameter from AVFilter.init 2013-04-09 19:12:38 +02:00
vf_vflip.c lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
vf_yadif.c vf_yadif: support slice threading 2013-05-24 09:32:07 +02:00
video.c lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
video.h lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
vsink_nullsink.c lavfi: switch to AVFrame. 2013-03-08 07:37:18 +01:00
vsrc_color.c lavfi: remove now unused args parameter from AVFilter.init 2013-04-09 19:12:38 +02:00
vsrc_movie.c vsrc_movie: do not free avoption variables in uninit() 2013-06-20 13:27:14 +02:00
vsrc_nullsrc.c vsrc_nullsrc: switch to an AVOptions-based system. 2013-04-09 19:11:12 +02:00
vsrc_testsrc.c lavfi: remove now unused args parameter from AVFilter.init 2013-04-09 19:12:38 +02:00
yadif.h yadif: restore speed of the C filtering code 2013-05-14 09:23:55 +02:00