Snippets for obs-studio 33.0.3 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/q79gq38qrn1xf59v27ashd3wpcx1d227-obs-studio-33.0.3.drv.
-
/build/source/libobs/util/threading-posix.h:26:16: warning: '__atomic_sub_fetch_8' writing 8 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 26 | return __atomic_sub_fetch(val, 1, __ATOMIC_SEQ_CST); | ^ -
/build/source/shared/obs-scripting/obs-scripting-python.c:1648:9: warning: 'PySys_SetArgv' is deprecated [-Wdeprecated-declarations] 1648 | PySys_SetArgv(argc, argv); | ^~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/obs-qsv11.c:777:17: warning: enumeration value 'VIDEO_CS_DEFAULT' not handled in switch [-Wswitch] 777 | switch (voi->colorspace) { | ^~~~~~ -
/build/source/plugins/obs-qsv11/obs-qsv11.c:777:17: warning: enumeration value 'VIDEO_CS_601' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/obs-qsv11.c:777:17: warning: enumeration value 'VIDEO_CS_709' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/obs-qsv11.c:777:17: warning: enumeration value 'VIDEO_CS_SRGB' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_NONE' not handled in switch [-Wswitch] 91 | switch (sts) { | ^ -
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_INCOMPATIBLE_VIDEO_PARAM' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_GPU_HANG' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_REALLOC_SURFACE' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_RESOURCE_MAPPED' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_NOT_IMPLEMENTED' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_MORE_EXTBUFFER' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_NONE_PARTIAL_OUTPUT' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_WRN_ALLOC_TIMEOUT_EXPIRED' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_TASK_DONE' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_TASK_WORKING' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_TASK_BUSY' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder.cpp:91:24: warning: enumeration value 'MFX_ERR_MORE_DATA_SUBMIT_TASK' not handled in switch [-Wswitch]
-
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:178:31: warning: 'mfxPlatform::CodeName' is deprecated [-Wdeprecated-declarations] 178 | (platform.CodeName >= MFX_PLATFORM_BATTLEMAGE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N)) { | ^~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:178:43: warning: 'MFX_PLATFORM_BATTLEMAGE' is deprecated [-Wdeprecated-declarations] 178 | (platform.CodeName >= MFX_PLATFORM_BATTLEMAGE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N)) { | ^~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:178:79: warning: 'mfxPlatform::CodeName' is deprecated [-Wdeprecated-declarations] 178 | (platform.CodeName >= MFX_PLATFORM_BATTLEMAGE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N)) { | ^~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:178:91: warning: 'MFX_PLATFORM_ALDERLAKE_N' is deprecated [-Wdeprecated-declarations] 178 | (platform.CodeName >= MFX_PLATFORM_BATTLEMAGE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N)) { | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:194:30: warning: 'mfxPlatform::CodeName' is deprecated [-Wdeprecated-declarations] 194 | if (platform.CodeName >= MFX_PLATFORM_LUNARLAKE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N && | ^~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:194:42: warning: 'MFX_PLATFORM_LUNARLAKE' is deprecated [-Wdeprecated-declarations] 194 | if (platform.CodeName >= MFX_PLATFORM_LUNARLAKE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N && | ^~~~~~~~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:194:77: warning: 'mfxPlatform::CodeName' is deprecated [-Wdeprecated-declarations] 194 | if (platform.CodeName >= MFX_PLATFORM_LUNARLAKE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N && | ^~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:194:89: warning: 'MFX_PLATFORM_ALDERLAKE_N' is deprecated [-Wdeprecated-declarations] 194 | if (platform.CodeName >= MFX_PLATFORM_LUNARLAKE && platform.CodeName != MFX_PLATFORM_ALDERLAKE_N && | ^~~~~~~~~~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:195:30: warning: 'mfxPlatform::CodeName' is deprecated [-Wdeprecated-declarations] 195 | platform.CodeName != MFX_PLATFORM_ARROWLAKE) { | ^~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:195:42: warning: 'MFX_PLATFORM_ARROWLAKE' is deprecated [-Wdeprecated-declarations] 195 | platform.CodeName != MFX_PLATFORM_ARROWLAKE) { | ^~~~~~~~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:250:30: warning: 'mfxPlatform::CodeName' is deprecated [-Wdeprecated-declarations] 250 | if (platform.CodeName >= MFX_PLATFORM_DG2) { | ^~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:250:42: warning: 'MFX_PLATFORM_DG2' is deprecated [-Wdeprecated-declarations] 250 | if (platform.CodeName >= MFX_PLATFORM_DG2) { | ^~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:312:22: warning: 'mfxPlatform::CodeName' is deprecated [-Wdeprecated-declarations] 312 | platform.CodeName >= MFX_PLATFORM_ICELAKE) { | ^~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:312:34: warning: 'MFX_PLATFORM_ICELAKE' is deprecated [-Wdeprecated-declarations] 312 | platform.CodeName >= MFX_PLATFORM_ICELAKE) { | ^~~~~~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-qsv11/QSV_Encoder_Internal.cpp:360:76: warning: comparison of integer expressions of different signedness: 'int' and 'const uint32_t' {aka 'const unsigned int'} [-Wsign-compare] 360 | if (codec == QSV_CODEC_AV1 && (pParams->nWidth * pParams->nHeight) >= pixelcount_4k) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-websocket/src/requesthandler/RequestHandler_Inputs.cpp:727:69: warning: 'obs_monitoring_type obs_source_get_monitoring_type(const obs_source_t*)' is deprecated [-Wdeprecated-declarations] 727 | responseData["monitorType"] = obs_source_get_monitoring_type(input); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ -
/build/source/plugins/obs-websocket/src/requesthandler/RequestHandler_Inputs.cpp:773:39: warning: 'void obs_source_set_monitoring_type(obs_source_t*, obs_monitoring_type)' is deprecated [-Wdeprecated-declarations] 773 | obs_source_set_monitoring_type(input, monitorType); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -
/build/source/plugins/obs-websocket/src/utils/Obs_ActionHelper.cpp:82:47: warning: 'void obs_source_set_monitoring_type(obs_source_t*, obs_monitoring_type)' is deprecated [-Wdeprecated-declarations] 82 | obs_source_set_monitoring_type(input, OBS_MONITORING_TYPE_MONITOR_ONLY); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/nix/store/rad3vm43l3zqnyzz9szga2gf0i09f2px-gcc-16.2.0/include/c++/16.2.0/bits/atomic_base.h:648:34: warning: '__atomic_fetch_add_4' writing 4 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 648 | { return __atomic_fetch_add(&_M_i, __i, int(__m)); } | ^ -
/build/source/deps/glad/include/glad/glad_egl.h:287:12: warning: type of 'eglCreateWindowSurface' does not match original declaration [-Wlto-type-mismatch] 287 | EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list); | ^