Re: [Vala] Problem adding gstreamer option group to context?
- From: "Juerg Billeter" <j bitron ch>
- To: "Jaap A. Haitsma" <jaap haitsma org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problem adding gstreamer option group to context?
- Date: Wed, 2 Apr 2008 13:04:24 +0200 (CEST)
On Sun, March 30, 2008 21:56, Jaap A. Haitsma wrote:
On Sun, Mar 30, 2008 at 7:47 PM, Sandino Flores Moreno <tigrux gmail com>
wrote:
This line is wrong:
context.add_group (Gst.init_get_option_group ());
It should be replaced as follows:
weak GLib.OptionGroup gst_opt_group = Gst.init_get_option_group ();
context.add_group (gst_opt_group);
Thanks.
Is there a specific reason why Gst.init_get_option_group gives back a
weak reference? If it were to give back a normal reference the code
would be easier.
That's a bug in the bindings, it should return a normal reference.
Juerg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]