[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] Problem adding gstreamer option group to context?
- From: "Jaap A. Haitsma" <jaap haitsma org>
- To: "Sandino Flores Moreno" <tigrux gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problem adding gstreamer option group to context?
- Date: Sun, 30 Mar 2008 21:56:21 +0200
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.
Jaap
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]