tinyzimmer / go-gst

Gstreamer bindings and utilities for golang
GNU Lesser General Public License v2.1
130 stars 37 forks source link

Set the name/id of an already existing pipeline or bin #55

Closed db-tech closed 1 year ago

db-tech commented 1 year ago

Hi, I usually create a pipeline with: gst.NewPipeline(id). Now i would like to create a pipeline with gst.NewPipelineFromString and still give it a specific id, is that possible?

db-tech commented 1 year ago

K, figured it out. I can simply set the Attribute "name" pipeline.SetProperty("name", name)