We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if err := sp.pipLine.SetState(gst.StatePlaying); err != nil { zlog.Errorf(sp.Ctx, "set state playing error: %s", err.Error()) } buf := gst.NewBufferWithSize(0) if _, err := sp.appSrc.Emit("push-buffer", buf); err != nil { zlog.Errorf(sp.Ctx, "push buffer error:%s", err.Error()) } buf := gst.NewBufferWithSize(int64(len(data))) buf.FillBytes(0, data) if _, err := sp.appSrc.Emit("push-buffer", buf); err != nil { zlog.Infof(sp.Ctx, "push-buffer err %s", err.Error()) } log: "push buffer error invalid GValue "
The text was updated successfully, but these errors were encountered:
Hi, You may need to initialize buffer with proper size, not zero. // Note that when size == 0, the buffer will not have memory associated with it.
And, try with appSrc.PushBuffer() for push buffer
appSrc.PushBuffer()
Sorry, something went wrong.
@licfan move this issue to https://github.com/go-gst/go-gst (where future development of the bindings will take place) if you think it is necessary.
Merge pull request tinyzimmer#32 from abrbird/discoverer-fixes
65a2607
fixed out of range error;
No branches or pull requests
The text was updated successfully, but these errors were encountered: