Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML Video error: "Could not create wrappped context for platform: 1"
Forum Updated to NodeBB v4.3 + New Features

QML Video error: "Could not create wrappped context for platform: 1"

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 1 Posters 420 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aran
    wrote on last edited by
    #1

    Hi,

    As part of an app I'm developing I am trying to show some video files using the Video element in QML. I created some code to handle that a while ago and back then everything seemed to work perfectly. At some point over the past 3-4 months things must have stopped working. Now, when I try to play any video file I get:

    Could not create wrappped context for platform: 1
    Failed to start video surface due to main thread blocked.
    

    The latter line is then repeated about once a second.

    To make sure that it is not some of my "amazing" programming skills that messed something up, I then ran the official"QML Video Example application - and it gives me the exact same error.

    I have any available gstreamer plugin installed and all available Qt plugins are installed and available. Does Anybody have any idea what to try to do to get it to work again? My system is Arch Linux running Qt 5.15.1.

    Thanks for any help!

    aran

    1 Reply Last reply
    0
    • A Offline
      A Offline
      aran
      wrote on last edited by
      #2

      I noticed that everything works just fine under X, I only observe that problem when on Wayland. This appears to be a bug then, and I opened a bug report: QTBUG-87970

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved