Re: Building GStreamermm with GStreamer 1.0



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.

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



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