projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8a3362
)
timeline: Ensure setting framerate in timeline_get_framerate
author
Thibault Saunier
<tsaunier@igalia.com>
Thu, 9 Apr 2020 15:10:43 +0000
(11:10 -0400)
committer
Thibault Saunier
<tsaunier@igalia.com>
Fri, 10 Apr 2020 15:12:12 +0000
(11:12 -0400)
CID:
1461250
,
1461288
ges/ges-timeline.c
patch
|
blob
|
history
diff --git
a/ges/ges-timeline.c
b/ges/ges-timeline.c
index ab65978a656eca260426e77cf962bd496770eb70..c6d59fd25bfdae16f24c1ac546cdd2855c1e603a 100644
(file)
--- a/
ges/ges-timeline.c
+++ b/
ges/ges-timeline.c
@@
-1081,10
+1081,10
@@
timeline_get_framerate (GESTimeline * self, gint * fps_n, gint * fps_d)
{
GList *tmp;
+ *fps_n = *fps_d = -1;
if (!self)
goto done;
- *fps_n = *fps_d = -1;
LOCK_DYN (self);
for (tmp = self->tracks; tmp; tmp = tmp->next) {
if (GES_IS_VIDEO_TRACK (tmp->data)) {