Re: gstreamermm ghost pad incomplete



Marcus Brinkmann wrote:
At Wed, 18 Jun 2008 00:03:32 -0400,
José Alburquerque <jaalburquerque cox net> wrote:
BTW, though I must admit that I wont know the moment that bug reports are submitted, I regularly look for them and I think that it would be best to submit reports like this in bugzilla where they are more practically dealt with. Again, I really appreciate you taking the time to help out with gstreamermm development.

I'm happy to help.  For me, it's a bit risky because gstreamermm is
not mature yet and I am not sufficiently experienced with the C++
bindings (yet) to fix such problems myself.  But, it's only a hobby
project right now, so no sweat :)

What would be the quick&dirty approach to learn how all the wrapping
and binding works?  Where is a good entry place to read code or
documentation?

Discussion moved to:

http://bugzilla.gnome.org/show_bug.cgi?id=539063


Thanks for filing the report. For your benefit (if you're interested in wrapping), I'll be replying to your other posting about Gst::get_option_group() (http://mail.gnome.org/archives/gtkmm-list/2008-June/msg00203.html) on-list because I really don't think that what you're describing is a bug but rather a misunderstanding of how the C API should wrapped. I'll also be replying to one of your posts on this thread because, though you encountered warnings that are in the process of being fixed (you'll understand when you get the post), the rest of it also doesn't seem like a bug because you've failed to include parallel C/C++ examples. If you can convince me that these are in fact bugs by either submitting appropriate examples in the bug report or in this thread then I think you should be able to wrap things fine. The examples should be short and both should be parallel in logic (please don't ask me to modify things that exist, provide examples).

You should start by reading the chapter of the online book that describes wrapping (http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/chapter-wrapping-c-libraries.html). It covers all aspects of wrapping. You'll also have to check out the latest gstreamermm trunk from svn (see http://developer.gnome.org/tools/svn.html for explanation) to wrap anything. Read the wrapping chapter, examine the project structure and you're when ready to wrap something, just add the source file in the appropriate directory and make the necessary modifications to the get the source file to build properly.

When you feel you've got something working add the new source files with svn to the project and submit a patch for it in bugzilla. At the moment, Murray decides if the patch is worth adding so I'm sure he'll have a few things to say, but if the patch is fine, it will be applied to the trunk.

On another note, please make sure that you are not reporting unnecessary bugs because this only creates unnecessary work and distracts from the work of wrapping. Try to test your theories with parallel C/C++ code to make sure that you're actually encountering a bug, but mostly if it's a patch and it's useful there should be no problem accepting it.

I'll let Murray say what he'd like because beyond me he ultimately says what is best and I'll deffer to his wisdom and knowledge over mine.

--
José Alburquerque
jaalburquerque cox net



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