Re: Building GStreamermm with GStreamer 1.0
- From: Marcin Kolny <marcin kolny gmail com>
- To: gtkmm-list gnome org
- Subject: Re: Building GStreamermm with GStreamer 1.0
- Date: Fri, 02 Aug 2013 12:22:48 +0200
On 08/02/2013 10:32 AM, Murray Cumming wrote:
On Fri, 2013-08-02 at 10:13 +0200, Dirk Van Haerenborgh wrote:
I've been hacking around with this a bit, though I got stuck rather
soon due to my limited knowledge of gtkmm/gstreamermm...
From what I got so far is that the build fails mainly on
audioringbuffer. Aside from a few minor issues, instead of having
direct members for stuff like sample width and depth directly,
GstAudioRingBufferSpec now has a member of type GstAudioInfo instead.
The latter seems to have no wrappers yet, and I am not too sure how to
start with that.
Are there any similar objects that I can look at?
GstAudioInfo looks like a "boxed type", with the usual _copy() and
_free() functions, so you'd want to use _CLASS_BOXEDTYPE,
https://developer.gnome.org/gtkmm-tutorial/unstable/sec-wrapping-hg-files.html.en#gmmproc-class-boxedtype as
with GstSegment:
https://git.gnome.org/browse/gstreamermm/tree/gstreamer/src/segment.hg
However, if it was me, I'd just comment out the problematic code in
gstreamermm, to make it build, leaving a TODO for later. Getting stuff
to build seems most important.
I think there is no benefit to use _CLASS_BOXEDTYPE(no copy-, new- and
free- function). I used in my code _CLASS_GENERIC, and it works fine for
me.
Best regards,
Marcin Kolny
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]