[Vala] GStreamer Video and Vala



Hi all,

yesterday night I tried to write a minimal video player for mainly two
different reasons:

1) I was asked for some simple *and* working sample code to embend a
video in a window

2) I've a dormient project that use gstreamer heavily and I want to see
the status of gstreamer api.

The writing went quite smooth but I've found some bugs when using the
XOverlay interface caused by this bug
http://bugzilla.gnome.org/show_bug.cgi?id=512744

So I've patched the compiler (valainterface.vala) to support the
'lower_case_csuffix' parameter in the CCode attribute and I modified the
bindings of gstreamer-interfaces-0.10 and then all went well.

Attached the patched to valac and the reference code of a very minimal
video player.

Have a nice day,
Andrea

P.S:
I'be attached that same fix to the bug report.


Attachment: Makefile
Description: Text Data

Attachment: videobox.glade
Description: application/glade

Attachment: videobox.vala
Description: Text Data

Attachment: interface-lowercase-csuffix.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]