Compare commits
2 commits
0ce58b3ce7
...
f7afcbca01
Author | SHA1 | Date | |
---|---|---|---|
f7afcbca01 | |||
9329797ad6 |
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ class Playbin : Object {
|
||||||
}
|
}
|
||||||
|
|
||||||
construct {
|
construct {
|
||||||
|
// gstreamer docs: GNOME-based applications, for example, will usually
|
||||||
|
// want to create gconfaudiosink and gconfvideosink elements and make
|
||||||
|
// playbin3 use those, so that output happens to whatever the user has
|
||||||
|
// configured in the GNOME Multimedia System Selector configuration dialog.
|
||||||
|
this.playbin.audio_sink = Gst.ElementFactory.make ("gconfaudiosink", null);
|
||||||
|
|
||||||
this.playbin.source_setup.connect (this.source_setup);
|
this.playbin.source_setup.connect (this.source_setup);
|
||||||
this.playbin.about_to_finish.connect (this.about_to_finish);
|
this.playbin.about_to_finish.connect (this.about_to_finish);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue