https://bugs.kde.org/show_bug.cgi?id=470663

            Bug ID: 470663
           Summary: [kdesrc-build] [kf6] Builds errors in
                    VideoPlatformWayland.cpp
    Classification: Applications
           Product: Spectacle
           Version: git-master
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: noaha...@gmail.com
          Reporter: kyle.de...@mykolab.com
                CC: k...@david-redondo.de
  Target Milestone: ---

Created attachment 159475
  --> https://bugs.kde.org/attachment.cgi?id=159475&action=edit
build.log with full output

SUMMARY

/run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:
In member function ‘virtual QStringList
VideoPlatformWayland::suggestedExtensions() const’:
/run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:81:64:
error: invalid initialization of reference of type ‘const QByteArray&’ from
expression of type ‘PipeWireBaseEncodedStream::Encoder’
   81 |     for (const QByteArray &enc : m_recorder->suggestedEncoders()) {
      |                                                                ^
/run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:
In member function ‘virtual void VideoPlatformWayland::setExtension(const
QString&)’:
/run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:108:32:
error: cannot convert ‘const char [7]’ to ‘PipeWireBaseEncodedStream::Encoder’
  108 |         m_recorder->setEncoder("libvpx");
      |                                ^~~~~~~~
      |                                |
      |                                const char [7]
In file included from
/run/media/valmar/DataSSD/KDE/usr-Plasma6-20230605-1835/include/KPipeWire/pipewirerecord.h:11:
/run/media/valmar/DataSSD/KDE/usr-Plasma6-20230605-1835/include/KPipeWire/pipewirebaseencodedstream.h:69:29:
note:   initializing argument 1 of ‘void
PipeWireBaseEncodedStream::setEncoder(Encoder)’
   69 |     void setEncoder(Encoder encoder);
      |                     ~~~~~~~~^~~~~~~
/run/media/valmar/DataSSD/KDE/Sources/graphics/spectacle/src/Platforms/VideoPlatformWayland.cpp:110:32:
error: cannot convert ‘const char [8]’ to ‘PipeWireBaseEncodedStream::Encoder’
  110 |         m_recorder->setEncoder("libx264");
      |                                ^~~~~~~~~
      |                                |
      |                                const char [8]



SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.1
Kernel Version: 6.3.5-arch1-1-custom (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 5600X 6-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B85
System Version: 1.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to