mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-03 16:59:12 +02:00
GST pipelines refactor.
This commit is contained in:
parent
c10b2212d1
commit
16d762b6ae
5 changed files with 74 additions and 56 deletions
|
@ -210,11 +210,6 @@ func CreatePipeline(pipelineStr string, codecName string, clockRate float32) (*P
|
|||
return p, nil
|
||||
}
|
||||
|
||||
// Destroy GStreamer Pipeline
|
||||
func (p *Pipeline) DestroyPipeline() {
|
||||
C.gstreamer_send_destroy_pipeline(p.Pipeline)
|
||||
}
|
||||
|
||||
// Start starts the GStreamer Pipeline
|
||||
func (p *Pipeline) Start() {
|
||||
C.gstreamer_send_start_pipeline(p.Pipeline, C.int(p.id))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue