Documentation
¶
Index ¶
- func AddToPipeline(pipeline *gst.Pipeline, elements map[string]*gst.Element) error
- func GetWindowForElement(o fyne.CanvasObject) fyne.Window
- func GstreamerInit()
- func MustCreateElement(elementname string, properties map[string]interface{}) *gst.Element
- func NewPipelineFromString(pipeline string) (*gst.Pipeline, error)
- func RemoveComments(s string) string
- type MediaControl
- type MediaDuration
- type MediaOpener
- type MediaSeeker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToPipeline ¶
AddToPipeline is a convenience function to add all elements to the pipeline from a map built with the mustCreateElement function.
func GetWindowForElement ¶
func GetWindowForElement(o fyne.CanvasObject) fyne.Window
GetWindowForElement returns the window that contains the given element.
func GstreamerInit ¶
func GstreamerInit()
GstreamerInit initializes gstreamer if it is not already initialized.
func MustCreateElement ¶
MustCreateElement creates a new element with the given name and properties. The properties can be nil.
func NewPipelineFromString ¶
NewPipelineFromString creates a new pipeline from the given string.
func RemoveComments ¶
RemoveComments removes all comments from the given string.
Types ¶
type MediaControl ¶
type MediaDuration ¶
type MediaOpener ¶
type MediaOpener interface {
Open(uri fyne.URI) error
}
type MediaSeeker ¶
Click to show internal directories.
Click to hide internal directories.