mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
pyges: override ges_track_get_timeline
This make the bindings compiling without warning
This commit is contained in:
parent
f9b9ec6204
commit
20db3b7e78
1 changed files with 14 additions and 0 deletions
|
@ -29,3 +29,17 @@ import gobject.MainContext as PyGMainContext_Type
|
|||
import gobject.GObject as PyGInitiallyUnowned_Type
|
||||
import gst.Bin as PyGstBin_Type
|
||||
import gst.Pipeline as PyGstPipeline_Type
|
||||
|
||||
%%
|
||||
override ges_track_get_timeline kwargs
|
||||
static PyObject *
|
||||
_wrap_ges_track_get_timeline(PyGObject *self)
|
||||
{
|
||||
const GESTimeline *ret;
|
||||
|
||||
pyg_begin_allow_threads;
|
||||
ret = ges_track_get_timeline(GES_TRACK(self->obj));
|
||||
pyg_end_allow_threads;
|
||||
/* pygobject_new handles NULL checking */
|
||||
return pygobject_new((GObject *)ret);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue