Re: Gst::PlayBin2 signal_get_audio_tags trouble
- From: José Alburquerque <jaalburquerque cox net>
- To: Murray Cumming <murrayc murrayc com>
- Cc: gtkmm-list gnome org
- Subject: Re: Gst::PlayBin2 signal_get_audio_tags trouble
- Date: Mon, 14 Dec 2009 14:39:12 -0500
On Mon, 2009-12-14 at 09:34 +0100, Murray Cumming wrote:
> On Sun, 2009-12-13 at 23:19 -0500, José Alburquerque wrote:
> > On Sun, 2009-12-13 at 11:27 +0100, kitone wrote:
> > > Hi,
> > > I've some trouble to using the Gst::PlayBin2 element, specially the
> > > signals signal_get_*_tags.
> > >
> > > With gstreamer (C) we can used g_signal_emit_by_name to received the
> > > tags. ex:
> > >
> > > for (i = 0; i < n_audio; i++) {
> > > g_signal_emit_by_name (pipeline, "get-audio-tags", i, &tags);
> > > ...
>
> This is unpleasant. I hope it's not the documented way to use that API.
> GTK+, for instance, would have a method that happened to do this in it's
> implementation, maybe along with other checks.
>
> But I guess gstreamer plugins rarely have actual API. They are usually
> used in C via generic property and signal functions, right? But can't we
> add a method in our C++ API?
Would adding a method be a problem? I think it's possible through the
plug-in generator.
--
José
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]