Python bindings and GHashTable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Python bindings and GHashTable

Aaron Lindsey
Hi all,
    I'm writing an app using rtpbin.  I wrote some test code in C to pull
an mpeg4 stream over RTP and pipe it to the screen.  After reading lots of
docs and code, it seems to be working fine.  As I discovered during this
process, you need to give rtpbin a mapping between payload type and the
appropriate caps.  This is done with a GHashTable.  Today I began
converting the C code over to the python bindings and ran into a brick
wall when I tried to create the GHashTable.  I did some searching around
and it doesn't seem like there is any binding for this in PyGtk or
PyGObject.  So, I'm wondering, am I just missing something?  If not, is
there a standard work around for those that are using the python bindings
with gstreamer?  Also, did I just describe a scenario where I wrote a
quick and dirty prototype in C before converting to Python for the real
thing?  Weird.

Aaron






-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel