Bug 371762 - git master - Project Monitor isn't playing to end of timeline. Stops a second or two before end [video example included]
Summary: git master - Project Monitor isn't playing to end of timeline. Stops a second...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: User Interface (show other bugs)
Version: git-master
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL: https://youtu.be/UDbW0igA7f4
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-27 19:45 UTC by Unknown
Modified: 2017-04-13 18:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2016-10-27 19:45:22 UTC
User-Agent:       Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Build Identifier: 16.11.70

See video example in URL field for details.

When playing back in Project Monitor, playback stops a few seconds before end of timeline -- it doesn't play all the way to the end. This occurs with both new and current Kdenlive projects. Project specifics that bug was confirmed in: 1920x1080, 29.97fps.

Reproducible: Always

Steps to Reproduce:
1. Add a clip to Timeline
2. Click Play button or SPACEBAR to start Project Monitor playback.
Actual Results:  
Playback stops a second or two from end of Timeline.

Expected Results:  
Playback should play all the way to the end of project.

Bug discovered while using Kdenlive 16.11.70 git master build via ppa:kdenlive/kdenlive-master.

Ubuntu 16.10, Unity 7.5.0 desktop environment.
KDE Frameworks 5.26.0
Qt 5.6.1
Comment 1 Unknown 2017-04-12 22:46:11 UTC
Test this on a fresh install of Ubuntu GNOME 17.04 x64, GNOME 3.24.0, and this bug still occurred.
Comment 2 Unknown 2017-04-12 23:02:23 UTC
I tested to see if it was an MLT issue by opening a Terminal and playing a 9-second video clip I rendered "melt ./untitled.webm", and the video played all the way through, smoothly. Going back into Kdenlive and pressing SPACEBAR or pressing the play button, once the timeline position cursor gets a second or two from the end of the project, it skips immediately to the end.
Comment 3 Jean-Baptiste Mardelle 2017-04-13 06:08:38 UTC
Git commit 6f5584eee17ebe8a0276bb542001126873f706f2 by Jean-Baptiste Mardelle.
Committed on 13/04/2017 at 06:08.
Pushed by mardelle into branch 'Applications/17.04'.

Fix glitch on pause and does not play last second of project

M  +4    -8    src/renderer.cpp

https://commits.kde.org/kdenlive/6f5584eee17ebe8a0276bb542001126873f706f2
Comment 4 Unknown 2017-04-13 18:10:26 UTC
Awesome, thank you sir! Any chance this can be merged with the master in the ppa:kdenlive/master-ppa so I can test it out and confirm the fix on my end?