[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unboxing GValues into WCPs
From: |
Andreas Rottmann |
Subject: |
Unboxing GValues into WCPs |
Date: |
Sat, 31 Jul 2004 17:18:21 +0200 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux) |
Hi!
I'm messing a bit with the GStreamer bindings, and am trying to write
a metadata extractor. I have a subtle problem with a signal callback:
the arguments for the attached procedure are passed as GValues, and
one of the arguments is an GstTagList*. From what I can see, there is
currently no way to get the corresponding <gst-tag-list*> WCP out of
the GValue. Thus we need something like gvalue->wcp, which is an
inherently unsave procedure, since you need to know the WCT that is
contained in the GValue. It would be used like:
(gvalue->wcp <gst-tag-list*> the-gvalue)
This corresponds to unboxing the GValue and casting it to GstTagList*
on the C side. I'll try to implement this soonish. Any comments?
Regards, Andy
--
Andreas Rottmann | address@hidden | address@hidden | address@hidden
http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62
Say NO to Software Patents! -- http://petition.eurolinux.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Unboxing GValues into WCPs,
Andreas Rottmann <=