diff --git a/system/nxplayer/Kconfig b/system/nxplayer/Kconfig index d448c6dd1d8..788931260de 100644 --- a/system/nxplayer/Kconfig +++ b/system/nxplayer/Kconfig @@ -21,7 +21,7 @@ config NXPLAYER_MAINTHREAD_STACKSIZE config NXPLAYER_PLAYTHREAD_STACKSIZE int "NxPlayer thread stack size" - default 1500 + default PTHREAD_STACK_DEFAULT ---help--- Stack size to use with the NxPlayer play thread. diff --git a/system/nxrecorder/Kconfig b/system/nxrecorder/Kconfig index fc002513640..4dee937c42a 100644 --- a/system/nxrecorder/Kconfig +++ b/system/nxrecorder/Kconfig @@ -13,9 +13,15 @@ config SYSTEM_NXRECORDER if SYSTEM_NXRECORDER +config NXRECORDER_MAINTHREAD_STACKSIZE + int "NxRecoder main thread stack size" + default DEFAULT_TASK_STACKSIZE + ---help--- + Stack size to use with the NxRecoder main thread. + config NXRECORDER_RECORDTHREAD_STACKSIZE int "NxRecorder thread stack size" - default 1500 + default PTHREAD_STACK_DEFAULT ---help--- Stack size to use with the NxRecorder record thread. diff --git a/system/nxrecorder/Makefile b/system/nxrecorder/Makefile index e28aa61eafc..f7eb6654245 100644 --- a/system/nxrecorder/Makefile +++ b/system/nxrecorder/Makefile @@ -28,7 +28,7 @@ CSRCS = nxrecorder.c ifneq ($(CONFIG_NXRECORDER_COMMAND_LINE),) PROGNAME = nxrecorder PRIORITY = SCHED_PRIORITY_DEFAULT -STACKSIZE = $(CONFIG_DEFAULT_TASK_STACKSIZE) +STACKSIZE = $(CONFIG_NXRECORDER_MAINTHREAD_STACKSIZE) MODULE = $(CONFIG_NXRECORDER_COMMAND_LINE) MAINSRC = nxrecorder_main.c