Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-sharp gstreamer-sharp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 36
    • Issues 36
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamer-sharpgstreamer-sharp
  • Issues
  • #6

Closed
Open
Created May 20, 2018 by Bugzilla Migration User@bugzilla-migration

C# BasicTutorial6 doesn't work in Windows

Submitted by tom..@..il.com

Link to original bug (#796287)

Description

Created attachment 372254
Modified version which imports a correct dll and doesn't crash on unknown type.

Hello

BasicTutorial6.cs doesn't work in Windows.
It imports g_quark_to_string from the Linux library and throws when printing field information, because GstBitmask type is unknown.

Here's modified version. I have no idea how to make different DllImports for different platforms.
I have also wrapped the calls in the PrintField function, so that it shows an error message instead of crashing.

Hope it helps,
Tom

Attachment 372254, "Modified version which imports a correct dll and doesn't crash on unknown type.":
BasicTutorial6.cs

Version: 1.14.0

Assignee
Assign to
Time tracking