Re: [Vala] GStreamer signal connection in Vala



Thomas <thomas mair86    > writes:

Hi,

this solved the problem. I was looking everywhere to find a solution. Thanks a
lot. The correct way to achive what i wanted was:

this.pipeline =  (Pipeline)Gst.parse_launch("... cairooverlay
name=overlay ...");
...
dynamic Element ov = this.pipeline.get_by_name("overlay");
ov.caps_changed.connect(this.caps_changed_cb);
...
private void caps_changed_cb(Element element, Caps caps){
..
}

Greetings
Thomas


Hi,

by the way, where do i find more information about the "dynamic" keyword?

Greetings
Thomas






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]