Porting perl-GStreamer to gst 1.0



Has anyone made an attempt to port the current GStreamer bindings to the 1.0 API?  Looks like these haven't been touched in 13 months, and it's stuck on the 0.10 API (which is no longer being supported).  I have some use for gst dealing with the Raspberry Pi camera, and getting the bindings on 1.0 would be very helpful.

I cloned the git repo and grepped the code for '0.10' and replaced it with '1.0' wherever it was referencing a gst version.  I got a handful of compiler warnings/errors from GstBuffer.xs (reproduced below if anyone is curious).  My C coding skills are rusty, but I'll make a go at fixing it up if nobody else has been working on it.

For reference, here's the API porting guide:

http://cgit.freedesktop.org/gstreamer/gstreamer/tree/docs/random/porting-to-1.0.txt

Thanks,
Timm



[ CC xs/GstBuffer.c ]
xs/GstBuffer.c: In function 'XS_GStreamer__Buffer_flags':
xs/GstBuffer.c:186:2: error: unknown type name 'GstBufferFlag'
xs/GstBuffer.c:190:8: warning: assignment makes pointer from integer without a cast [enabled by default]
xs/GstBuffer.xs: In function 'XS_GStreamer__Buffer_data':
xs/GstBuffer.xs:40:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
xs/GstBuffer.xs: In function 'XS_GStreamer__Buffer_data_ptr':
xs/GstBuffer.xs:48:9: warning: assignment makes pointer from integer without a cast [enabled by default]
xs/GstBuffer.xs: In function 'XS_GStreamer__Buffer_set_data':
xs/GstBuffer.xs:110:9: error: 'GstBuffer' has no member named 'malloc_data'
xs/GstBuffer.xs:112:10: error: 'GstBuffer' has no member named 'free_func'
xs/GstBuffer.xs:113:7: error: 'GstBuffer' has no member named 'free_func'
xs/GstBuffer.xs:113:23: error: 'GstBuffer' has no member named 'malloc_data'
xs/GstBuffer.xs:115:15: error: 'GstBuffer' has no member named 'malloc_data'
xs/GstBuffer.xs:121:5: error: 'GstBuffer' has no member named 'malloc_data'
xs/GstBuffer.xs:123:5: error: 'GstBuffer' has no member named 'free_func'
xs/GstBuffer.xs:126:26: error: 'GstBuffer' has no member named 'malloc_data'
xs/GstBuffer.c: In function 'XS_GStreamer__Buffer_get_caps':
xs/GstBuffer.c:405:9: warning: assignment makes pointer from integer without a cast [enabled by default]
xs/GstBuffer.c: In function 'XS_GStreamer__Buffer_create_sub':
xs/GstBuffer.c:446:9: warning: assignment makes pointer from integer without a cast [enabled by default]
xs/GstBuffer.c: In function 'XS_GStreamer__Buffer_span':
xs/GstBuffer.c:491:9: warning: assignment makes pointer from integer without a cast [enabled by default]
xs/GstBuffer.c: In function 'XS_GStreamer__Buffer_join':
xs/GstBuffer.c:530:9: warning: assignment makes pointer from integer without a cast [enabled by default]
xs/GstBuffer.c: In function 'XS_GStreamer__Buffer_merge':
xs/GstBuffer.c:553:9: warning: assignment makes pointer from integer without a cast [enabled by default]
Makefile:525: recipe for target 'xs/GstBuffer.o' failed
make: *** [xs/GstBuffer.o] Error 1


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