mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-17 05:20:46 +08:00
fix issue in error generator and add gif-encoder example
This commit is contained in:
@@ -186,6 +186,7 @@ func getErrorMessageParams(err *GError, debugStr string) (*C.GError, *C.gchar) {
|
||||
gerr := &C.GError{
|
||||
code: C.gint(err.code),
|
||||
message: (*C.gchar)(unsafe.Pointer(errStr)),
|
||||
domain: C.guint(err.code),
|
||||
}
|
||||
|
||||
return gerr, (*C.gchar)(unsafe.Pointer(gdebugStr))
|
||||
|
Reference in New Issue
Block a user