GNOME Bugzilla – Bug 725476
adapter: Added interfaces for language bindings
Last modified: 2014-03-15 12:17:43 UTC
Similar to https://bugzilla.gnome.org/show_bug.cgi?id=698562 I have discovered that the gst_buffer_extract() and gst_adapter_copy() interfaces are difficult to work with using the python bindings. Therefore I propose two new interfaces in the same vein as 698562 to make the interfaces easier to work with. I was unsure what Since:-tag to use, so I guessed at 1.3.0. Please let me know if needs to be changed.
Created attachment 270665 [details] [review] Proposed patch for making gst_buffer_extract() easier on language bindings.
Created attachment 270666 [details] [review] Proposed patch for making gst_adapter_copy() easier on language bindings.
Comment on attachment 270665 [details] [review] Proposed patch for making gst_buffer_extract() easier on language bindings. Since 1.4 and make this just a simple wrapper around extract_dup() :) Also what's the effective difference between that and extract_dup()?
Comment on attachment 270666 [details] [review] Proposed patch for making gst_adapter_copy() easier on language bindings. Since: 1.4 but otherwise seems like a good idea
Created attachment 271924 [details] [review] Proposed patch for making gst_adapter_copy() easier on language bindings.
Comment on attachment 271924 [details] [review] Proposed patch for making gst_adapter_copy() easier on language bindings. commit 3de939cb5b7c4fdf40a4f2b780a0ce620cd7b6ee Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Sat Mar 1 23:18:44 2014 +0100 adapter: Adapt gst_adapter_copy() for bindings This is done by introducing a new gst_adapter_copy_bytes() call that returns a GBytes structure. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=725476