Giter Club home page Giter Club logo

Comments (2)

kellydunn avatar kellydunn commented on August 22, 2024

I'm also getting this issue as well when attempting to execute the live_webm example:

$ go run live_webm.go
> panic: Callback #1 param. type int doesn't match signal spec gint

goroutine 1 [running]:
github.com/ziutek/glib.(*Object).connect(0xc2000001d8, 0x2000000001, 0x0, 0x5b7600, 0x6a5c48, ...)
    github.com/ziutek/glib/_obj/_cgo_gotypes.go:662 +0x685
github.com/ziutek/glib.(*Object).ConnectNoi(0xc2000001d8, 0x66c910, 0x11, 0x5b7600, 0x6a5c48, ...)
    github.com/ziutek/glib/_obj/_cgo_gotypes.go:722 +0x97
main.NewWebM(0x180, 0xd8, 0x19, 0x0)
    /home/kelly/work/gopath/src/github.com/ziutek/gst/examples/live_webm.go:133 +0x634
main.main()
    /home/kelly/work/gopath/src/github.com/ziutek/gst/examples/live_webm.go:144 +0x63

goroutine 2 [syscall]:

goroutine 4 [syscall]:
github.com/ziutek/glib._Cfunc_mp_wait(0x0)
    github.com/ziutek/glib/_obj/_cgo_defun.c:695 +0x2f
github.com/ziutek/glib.callbackLoop()
    github.com/ziutek/glib/_obj/_cgo_gotypes.go:856 +0x1c
created by github.com/ziutek/glib.init·1
    github.com/ziutek/glib/_obj/_cgo_gotypes.go:864 +0x1f
exit status 2

from glib.

ziutek avatar ziutek commented on August 22, 2024

The problem was because of wrong assumption about gint and Go int relation (works on 32-bit system, fails on 64-bit).

I again need gst for small project with gstreamer1.0 support so gstreamer0.10 will not be supported by further commits.

from glib.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.