Snippets for moonlight-qt 6.1.0 from Nix x86_64-linux
Sourced from https://hydra.nixos.org/log/xpadnw6yk5pj9q6g121lxdr0rggdaq4y-moonlight-qt-6.1.0.drv.
-
path.cpp:35:18: warning: ignoring return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)', declared with attribute 'nodiscard' [-Wunused-result] 35 | dataFile.open(QIODevice::ReadOnly); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -
path.cpp:49:18: warning: ignoring return value of 'virtual bool QFile::open(QIODeviceBase::OpenMode)', declared with attribute 'nodiscard' [-Wunused-result] 49 | dataFile.open(QIODevice::WriteOnly); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg.cpp:1144:18: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1144 | if (decoder->pix_fmts == NULL) { | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1194:30: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1194 | for (int i = 0; decoder->pix_fmts[i] != AV_PIX_FMT_NONE; i++) { | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1079:79: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1079 | if (renderer.getPreferredPixelFormat(params->videoFormat) == decoder->pix_fmts[i]) { \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1082:49: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1082 | decoder->name, decoder->pix_fmts[i]); \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1083:57: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1083 | if (tryInitializeRenderer(decoder, decoder->pix_fmts[i], params, nullptr, nullptr, \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1087:53: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1087 | decoder->name, decoder->pix_fmts[i]); \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1207:30: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1207 | for (int i = 0; decoder->pix_fmts[i] != AV_PIX_FMT_NONE; i++) { | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1096:22: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1096 | if (decoder->pix_fmts[i] != renderer.getPreferredPixelFormat(params->videoFormat) && \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1097:75: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1097 | renderer.isPixelFormatSupported(params->videoFormat, decoder->pix_fmts[i])) { \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1100:49: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1100 | decoder->name, decoder->pix_fmts[i]); \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1101:57: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1101 | if (tryInitializeRenderer(decoder, decoder->pix_fmts[i], params, nullptr, nullptr, \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1105:53: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1105 | decoder->name, decoder->pix_fmts[i]); \ | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1373:38: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1373 | for (int i = 0; decoder->pix_fmts && decoder->pix_fmts[i] != AV_PIX_FMT_NONE; i++) { | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1373:59: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1373 | for (int i = 0; decoder->pix_fmts && decoder->pix_fmts[i] != AV_PIX_FMT_NONE; i++) { | ^~~~~~~~ -
streaming/video/ffmpeg.cpp:1374:47: warning: 'AVCodec::pix_fmts' is deprecated [-Wdeprecated-declarations] 1374 | if (isZeroCopyFormat(decoder->pix_fmts[i])) { | ^~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:507:26: warning: 'AVVulkanDeviceContext::queue_family_index' is deprecated [-Wdeprecated-declarations] 507 | vkDeviceContext->queue_family_index = m_Vulkan->queue_graphics.index; | ^~~~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:508:26: warning: 'AVVulkanDeviceContext::nb_graphics_queues' is deprecated [-Wdeprecated-declarations] 508 | vkDeviceContext->nb_graphics_queues = m_Vulkan->queue_graphics.count; | ^~~~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:509:26: warning: 'AVVulkanDeviceContext::queue_family_tx_index' is deprecated [-Wdeprecated-declarations] 509 | vkDeviceContext->queue_family_tx_index = m_Vulkan->queue_transfer.index; | ^~~~~~~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:510:26: warning: 'AVVulkanDeviceContext::nb_tx_queues' is deprecated [-Wdeprecated-declarations] 510 | vkDeviceContext->nb_tx_queues = m_Vulkan->queue_transfer.count; | ^~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:511:26: warning: 'AVVulkanDeviceContext::queue_family_comp_index' is deprecated [-Wdeprecated-declarations] 511 | vkDeviceContext->queue_family_comp_index = m_Vulkan->queue_compute.index; | ^~~~~~~~~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:512:26: warning: 'AVVulkanDeviceContext::nb_comp_queues' is deprecated [-Wdeprecated-declarations] 512 | vkDeviceContext->nb_comp_queues = m_Vulkan->queue_compute.count; | ^~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:514:26: warning: 'AVVulkanDeviceContext::lock_queue' is deprecated [-Wdeprecated-declarations] 514 | vkDeviceContext->lock_queue = lockQueue; | ^~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:515:26: warning: 'AVVulkanDeviceContext::unlock_queue' is deprecated [-Wdeprecated-declarations] 515 | vkDeviceContext->unlock_queue = unlockQueue; | ^~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:518:47: warning: 'AVVulkanDeviceContext::queue_family_decode_index' is deprecated [-Wdeprecated-declarations] 518 | static_assert(sizeof(vkDeviceContext->queue_family_decode_index) == sizeof(uint32_t), "sizeof(int) != sizeof(uint32_t)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:519:47: warning: 'AVVulkanDeviceContext::nb_decode_queues' is deprecated [-Wdeprecated-declarations] 519 | static_assert(sizeof(vkDeviceContext->nb_decode_queues) == sizeof(uint32_t), "sizeof(int) != sizeof(uint32_t)"); | ^~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:520:83: warning: 'AVVulkanDeviceContext::queue_family_decode_index' is deprecated [-Wdeprecated-declarations] 520 | if (!getQueue(VK_QUEUE_VIDEO_DECODE_BIT_KHR, (uint32_t*)&vkDeviceContext->queue_family_decode_index, (uint32_t*)&vkDeviceContext->nb_decode_queues)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ -
streaming/video/ffmpeg-renderers/plvk.cpp:520:139: warning: 'AVVulkanDeviceContext::nb_decode_queues' is deprecated [-Wdeprecated-declarations] 520 | if (!getQueue(VK_QUEUE_VIDEO_DECODE_BIT_KHR, (uint32_t*)&vkDeviceContext->queue_family_decode_index, (uint32_t*)&vkDeviceContext->nb_decode_queues)) { | ^~~~~~~~~~~~~~~~