mirror of
https://github.com/go-gst/go-gst.git
synced 2025-10-06 16:36:51 +08:00
fix some staticcheck reports and set gst min version to 1.26
This commit is contained in:
@@ -30,7 +30,7 @@ func (w *workflow) newSrc() {
|
||||
// Get a sink pad on compositor
|
||||
mixer := w.GetByName("mixer")
|
||||
|
||||
pad := mixer.GetRequestPad("sink_%u")
|
||||
pad := mixer.RequestPadSimple("sink_%u")
|
||||
pad.SetObjectProperty("xpos", 640)
|
||||
pad.SetObjectProperty("ypos", 0)
|
||||
|
||||
|
Reference in New Issue
Block a user