Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gintro install fails with latest gstreamer from gitlab #138

Closed
StefanSalewski opened this issue Jun 11, 2021 · 2 comments
Closed

gintro install fails with latest gstreamer from gitlab #138

StefanSalewski opened this issue Jun 11, 2021 · 2 comments

Comments

@StefanSalewski
Copy link
Owner

type
  MiniObject00* {.pure.} = object
    `type`*: GType
    refcount*: int32
    lockstate*: int32
    flags*: uint32
    copy*: MiniObjectCopyFunction
    dispose*: MiniObjectDisposeFunction
    free*: MiniObjectFreeFunction
    privUint*: uint32
    privPointer*: pointer

The copy field was a plain pointer before. Now we have three data types in the GstMiniObject, which seems to be one more as the bindings generator currently can handle.

@StefanSalewski
Copy link
Owner Author

Try nimble install gintro@#head

Plain fix was

    block myb:
      for a in 1 .. 3: # process clustered symbols into one single type section
        if delayedSyms.len > a:

increasing the maximum cluster size by one, which is needed for gst MiniObject fields.

@StefanSalewski
Copy link
Owner Author

Should be fixed in v0.9.4 now.
Will close this issue, please reopen if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant