mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
timeline: Ensure setting framerate in timeline_get_framerate
CID: 1461250, 1461288
This commit is contained in:
parent
a8a33622d9
commit
fadde5cfb9
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue