X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fdefs.h;h=6d684e79415bc71a9befa302cafccf42d1809df1;hb=f677a047d02e4d21491f2905bd220557472e1960;hp=ae07be004ff16de3120c732466b7323232fdd4a3;hpb=131a051c4cd3719a9be415386fdf0f4e15da7c66;p=nageru diff --git a/nageru/defs.h b/nageru/defs.h index ae07be0..6d684e7 100644 --- a/nageru/defs.h +++ b/nageru/defs.h @@ -3,7 +3,6 @@ #include -#define OUTPUT_FREQUENCY 48000 // Currently needs to be exactly 48000, since bmusb outputs in that. #define MAX_FPS 60 #define FAKE_FPS 25 // Must be an integer. #define MAX_VIDEO_CARDS 16 @@ -22,13 +21,7 @@ #define DEFAULT_STREAM_MUX_NAME "nut" // Only for HTTP. Local dump guesses from LOCAL_DUMP_SUFFIX. #define DEFAULT_HTTPD_PORT 9095 -#include "shared/mux_opts.h" - -// In bytes. Beware, if too small, stream clients will start dropping data. -// For mov, you want this at 10MB or so (for the reason mentioned above), -// but for nut, there's no flushing, so such a large mux buffer would cause -// the output to be very uneven. -#define MUX_BUFFER_SIZE 10485760 +#include "shared/shared_defs.h" // In number of frames. Comes in addition to any internal queues in x264 // (frame threading, lookahead, etc.).