mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
overrides: Make sure overrides are in hierarchy order
Otherwise method order resolution will not be correct
This commit is contained in:
parent
ab2582c97e
commit
9b2cdbb355
1 changed files with 8 additions and 10 deletions
|
@ -50,16 +50,6 @@ python module to use with GES 0.10"
|
|||
|
||||
warnings.warn(warn_msg, RuntimeWarning)
|
||||
|
||||
|
||||
class TrackElement(GES.TrackElement):
|
||||
def set_child_property(self, prop_name, prop_value):
|
||||
return TimelineElement.set_child_property(self, prop_name, prop_value)
|
||||
|
||||
|
||||
TrackElement = override(TrackElement)
|
||||
__all__.append('TrackElement')
|
||||
|
||||
|
||||
class TimelineElement(GES.TimelineElement):
|
||||
def __repr__(self):
|
||||
return "%s [%s (%s) %s]" % (
|
||||
|
@ -81,6 +71,14 @@ class TimelineElement(GES.TimelineElement):
|
|||
TimelineElement = override(TimelineElement)
|
||||
__all__.append('TimelineElement')
|
||||
|
||||
class TrackElement(GES.TrackElement):
|
||||
def set_child_property(self, prop_name, prop_value):
|
||||
return TimelineElement.set_child_property(self, prop_name, prop_value)
|
||||
|
||||
TrackElement = override(TrackElement)
|
||||
__all__.append('TrackElement')
|
||||
|
||||
|
||||
class Container(GES.Container):
|
||||
def edit(self, layers, new_layer_priority, mode, edge, position):
|
||||
return GES.TimelineElement.edit(self, layers, new_layer_priority, mode, edge, position)
|
||||
|
|
Loading…
Reference in a new issue