Dear Tristian, I tried this a while back and ran into several problems myself. AFAICT, there is at least one problem with Vala bindings [1] and gstreamer [2]. In addition, gst-rtsp-server recently changed their API in git master, which will need additional work to adapt to these changes. You are welcome to look at my code [3] and suggest any improvements. [1]: https://bugzilla.gnome.org/show_bug.cgi?id=685231 [2]: https://bugzilla.gnome.org/show_bug.cgi?id=686988 [3]: https://git.gnome.org/browse/gnome-dvb-daemon/log/?h=gst-1.0 Best, Sebastian Am 12.10.2013 20:15, schrieb Tristian Celestin:
I am trying to update gnome-dvb-daemon to gstreamer 1.0, and I've hit a roadblock.
In TerrestrialScanner.vala, in the add_scanning_data function, there's this declaration:
Gst.Structure tuning_params = new Gst.Structure ("tuning_params",
"frequency", typeof(uint), frequency,
"hierarchy", typeof(uint), hierarchy,
"bandwidth", typeof(uint), bandwidth,
"transmission-mode", typeof(string), transmode,
"code-rate-hp", typeof(string), code_rate_hp,
"code-rate-lp", typeof(string), code_rate_lp,
"constellation", typeof(string), constellation,
"guard-interval", typeof(uint), guard);
When using gstreamer-0.10, this was valid because the gstreamer-0.10 vapi declares a constructor:
[CCode (has_construct_function = false)]
public Structure (string name, string firstfield, ...);
The gstreamer-1.0 vapi doesn't declare any kind of construction function. There is a construction function
according to the C documentation for gstreamer-1.0
(http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstStructure.html#gst-structure-new).
Is there a reason the Gst.Structure construction function isn't bound?
If the function isn't bound because it's a bug, how do I fix it?
_______________________________________________
dvb-daemon-list mailing list
dvb-daemon-list gnome org
https://mail.gnome.org/mailman/listinfo/dvb-daemon-list
Attachment:
signature.asc
Description: OpenPGP digital signature