Re: [Vala] vala-list Digest, Vol 41, Issue 11
- From: Dai Derek <daiderek gmail com>
- To: vala-list gnome org
- Subject: Re: [Vala] vala-list Digest, Vol 41, Issue 11
- Date: Mon, 11 Apr 2011 23:29:55 +0800
Hi Jordi:
https://github.com/tigrux/omx-vala/
Derek Dai
On Mon, Apr 11, 2011 at 8:00 PM, <vala-list-request gnome org> wrote:
Send vala-list mailing list submissions to
vala-list gnome org
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.gnome.org/mailman/listinfo/vala-list
or, via email, send a message with subject or body 'help' to
vala-list-request gnome org
You can reach the person managing the list at
vala-list-owner gnome org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of vala-list digest..."
Today's Topics:
1. gstreamer element (Jordi Burguet Castell)
2. [PATCH] x11: Add XTest bindings (Alexander Kurtz)
3. Re: gstreamer element (Thijs Vermeir)
----------------------------------------------------------------------
Message: 1
Date: Sun, 10 Apr 2011 15:27:38 -0500
From: Jordi Burguet Castell <jordi burguet castell gmail com>
To: vala-list gnome org
Subject: [Vala] gstreamer element
Message-ID: <BANLkTinyaqL6S6OcbsG=oFVWd+H0jB+jPQ mail gmail com>
Content-Type: text/plain; charset=ISO-8859-1
Hello,
Has anyone tried to do a gstreamer *element* in vala? It sounds to me
like it would be worth because of the more succinct syntax, but I
could not figure out how to put the element and pads description in
the base_init() funtion (apart from putting the properties in the
class_init() and then doing the real initialization in the init()
functions).
The only related documentation I've found is:
http://valadoc.org/references/gstreamer-0.10/0.11.5/index.htm
but nothing about how to put things in base_init()
And also how to make a pipeline using gstreamer elements:
http://live.gnome.org/Vala/GStreamerSample
but not how to do the elements themselves.
Thanks,
Jordi
------------------------------
Message: 2
Date: Mon, 11 Apr 2011 08:58:42 +0200
From: Alexander Kurtz <kurtz alex googlemail com>
To: vala-list gnome org
Subject: [Vala] [PATCH] x11: Add XTest bindings
Message-ID: <1302505122 4391 10 camel alexander>
Content-Type: text/plain; charset="utf-8"
Hi everybody,
I've attached bindings for the XTest extension (aka libxtst) and a small
demonstration program which will start/pause your music player.
This is how it should work:
$ valac --pkg=x11 --pkg=xtst --vapidir=. Test.vala && ./Test
sizeof(char) = 1, sizeof(int) = 4, sizeof(long) = 4
sizeof(X.KeyCode) = 1, sizeof(X.KeySym) = 4, sizeof(X.ID) = 4
Display :0.0 opened
String XF86AudioPlay has keysym 0x1008FF14
Keysym 0x1008FF14 has keycode 172
Keycode 172 pressed
Keycode 172 released
Display :0.0 flushed
$
Please note that this patch needs the patch I submitted earlier[1].
I'm looking forward to any comments/criticism/whatever! If everything is
ok, I would be happy if you could merge this into master.
Best regards
Alexander Kurtz
[1] http://mail.gnome.org/archives/vala-list/2011-April/msg00036.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtst.vapi
Type: text/x-vala
Size: 2577 bytes
Desc: not available
URL: <
http://mail.gnome.org/archives/vala-list/attachments/20110411/c8f1702e/attachment.bin
-------------- next part --------------
x11
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.vala
Type: text/x-vala
Size: 1046 bytes
Desc: not available
URL: <
http://mail.gnome.org/archives/vala-list/attachments/20110411/c8f1702e/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <
http://mail.gnome.org/archives/vala-list/attachments/20110411/c8f1702e/attachment-0002.bin
------------------------------
Message: 3
Date: Mon, 11 Apr 2011 10:28:46 +0200
From: Thijs Vermeir <thijsvermeir gmail com>
To: Jordi Burguet Castell <jordi burguet castell gmail com>
Cc: vala-list gnome org
Subject: Re: [Vala] gstreamer element
Message-ID: <BANLkTina0SapZwk_+oqY82w4rRZC7APnXw mail gmail com>
Content-Type: text/plain; charset=ISO-8859-1
Hey,
On Sun, Apr 10, 2011 at 10:27 PM, Jordi Burguet Castell
<jordi burguet castell gmail com> wrote:
Hello,
Has anyone tried to do a gstreamer *element* in vala? It sounds to me
like it would be worth because of the more succinct syntax, but I
could not figure out how to put the element and pads description in
the base_init() funtion (apart from putting the properties in the
class_init() and then doing the real initialization in the init()
functions).
The only related documentation I've found is:
http://valadoc.org/references/gstreamer-0.10/0.11.5/index.htm
but nothing about how to put things in base_init()
And also how to make a pipeline using gstreamer elements:
http://live.gnome.org/Vala/GStreamerSample
but not how to do the elements themselves.
Yes, it's possible and not so difficult to write gstreamer elements in
vala.
Check this link for an example, it's an old link but I think the code
is still valid:
http://bazaar.launchpad.net/~asabil/vala/gst-vala-template/view/head:/src/vala-sink.vala
Gr,
Thijs
Thanks,
Jordi
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
------------------------------
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
End of vala-list Digest, Vol 41, Issue 11
*****************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]