mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 16:51:10 +00:00
uriclip: Fix wrong acces to object instead of its duration field
This commit is contained in:
parent
c21524a985
commit
6689db6098
1 changed files with 1 additions and 1 deletions
|
@ -230,7 +230,7 @@ extractable_set_asset (GESExtractable * self, GESAsset * asset)
|
|||
GESUriClipAsset *filesource_asset = GES_URI_CLIP_ASSET (asset);
|
||||
GESClip *clip = GES_CLIP (self);
|
||||
|
||||
if (GST_CLOCK_TIME_IS_VALID (GES_TIMELINE_ELEMENT (clip)) == FALSE)
|
||||
if (GST_CLOCK_TIME_IS_VALID (GES_TIMELINE_ELEMENT_DURATION (clip)) == FALSE)
|
||||
_set_duration0 (GES_TIMELINE_ELEMENT (uriclip),
|
||||
ges_uri_clip_asset_get_duration (filesource_asset));
|
||||
|
||||
|
|
Loading…
Reference in a new issue