Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gst-plugins-bad gst-plugins-bad
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 973
    • Issues 973
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 104
    • Merge requests 104
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamerGStreamer
  • gst-plugins-badgst-plugins-bad
  • Issues
  • #1583
Closed
Open
Issue created Apr 28, 2021 by SVENsuzhou@SVENsuzhou

waylandsink in Qt5 be crashed

I consulted tests/examples/waylandsink the example, the program is based on GTK. I tried to embed waylandsink in QT5, but it crashed in the code below.

  QPlatformNativeInterface * native = QGuiApplication::platformNativeInterface();                                               
  struct wl_display *display_handle = (struct wl_display *)native->nativeResourceForWindow("display", NULL);                 
  GstContext * context = gst_wayland_display_handle_context_new (display_handle);                                            
  gst_element_set_context (GST_ELEMENT(GST_MESSAGE_SRC(message)), context);                                                     

it crashed in function gst_element_set_context . Can you tell me how to fix this BUG? Or provide an example based on QT5. Thank you.

Edited Apr 28, 2021 by Nicolas Dufresne
Assignee
Assign to
Time tracking