Skip to content

Commit

Permalink
Merge pull request #458 from nyanmisaka/fix-inter-thread-queue-pkt
Browse files Browse the repository at this point in the history
Fix the default pkt thread queue size on certain platform
  • Loading branch information
nyanmisaka authored Sep 17, 2024
2 parents 6038f38 + 54d7bb5 commit 7c40d89
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@ Index: FFmpeg/fftools/ffmpeg_sched.h
===================================================================
--- FFmpeg.orig/fftools/ffmpeg_sched.h
+++ FFmpeg/fftools/ffmpeg_sched.h
@@ -238,12 +238,15 @@ int sch_add_mux(Scheduler *sch, SchThrea
* Default size of a packet thread queue. For muxing this can be overridden by
* the thread_queue_size option as passed to a call to sch_add_mux().
*/
-#define DEFAULT_PACKET_THREAD_QUEUE_SIZE 8
+#define DEFAULT_PACKET_THREAD_QUEUE_SIZE 1

@@ -243,7 +243,10 @@ int sch_add_mux(Scheduler *sch, SchThrea
/**
* Default size of a frame thread queue.
*/
Expand Down

0 comments on commit 7c40d89

Please sign in to comment.