container: "Implement" the set_priority vmethod

This way we will just accept any value setted
This commit is contained in:
Thibault Saunier 2013-06-28 19:16:47 -04:00 committed by Mathieu Duponchelle
parent 7412de6f6c
commit bcfeada696

View file

@ -155,6 +155,12 @@ _set_start (GESTimelineElement * element, GstClockTime start)
return TRUE; return TRUE;
} }
static gboolean
_set_priority (GESTimelineElement * element, guint32 priority)
{
return TRUE;
}
static gboolean static gboolean
_set_inpoint (GESTimelineElement * element, GstClockTime inpoint) _set_inpoint (GESTimelineElement * element, GstClockTime inpoint)
{ {
@ -282,6 +288,7 @@ ges_container_class_init (GESContainerClass * klass)
element_class->set_start = _set_start; element_class->set_start = _set_start;
element_class->set_duration = _set_duration; element_class->set_duration = _set_duration;
element_class->set_inpoint = _set_inpoint; element_class->set_inpoint = _set_inpoint;
element_class->set_priority = _set_priority;
/* No default implementations */ /* No default implementations */
klass->remove_child = NULL; klass->remove_child = NULL;