Re: GStreamer buffer memory pointer



Hello

It works, but I'm try to avoid memory copying.

Also there are warnings in this code http://pastie.org/private/9fjpfheqfenbue36hm4ya:
*** GPerl asked to invoke callback from a foreign thread; handing it over to the main loop
What I'm doing wrong? or how can I setup callback on each new frame? 
it seems that there is no perl bindings for http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-libs/html/gst-plugins-base-libs-appsink.html

Thank you!

On 27 September 2012 11:49, Torsten Schoenfeld <kaffeetisch gmx de> wrote:
On 27.09.2012 00:51, vividsnow wrote:
Is it possible to get memory pointer to a buffer data, so I can pass it
to OpenGL::Array?

Does $buffer->data not work?
_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list



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