[FFmpeg-devel] [PATCH 01/17] publisher.c: Redruce threads to 1 for now to avoid race conditions
Stephan Holljes
klaxa1337 at googlemail.com
Thu Jun 28 03:51:01 EEST 2018
Signed-off-by: Stephan Holljes <klaxa1337 at googlemail.com>
---
publisher.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/publisher.c b/publisher.c
index 56d1e24..fc3d804 100644
--- a/publisher.c
+++ b/publisher.c
@@ -101,7 +101,7 @@ void publisher_init(struct PublisherContext **pub, char *stream_name)
av_log(NULL, AV_LOG_ERROR, "Could not allocate publisher context.\n");
return;
}
- pc->nb_threads = 8;
+ pc->nb_threads = 1;
pc->stream_name = stream_name;
pc->current_segment_id = -1;
pc->shutdown = 0;
--
2.18.0
More information about the ffmpeg-devel
mailing list