|
1 |
| -""" |
| 1 | +""" |
2 | 2 | @file
|
3 | 3 | @brief This file contains the preview thread, used for displaying previews of the timeline
|
4 | 4 | @author Jonathan Thomas <[email protected]>
|
5 |
| - |
| 5 | +
|
6 | 6 | @section LICENSE
|
7 |
| - |
| 7 | +
|
8 | 8 | Copyright (c) 2008-2018 OpenShot Studios, LLC
|
9 | 9 | (http://www.openshotstudios.com). This file is part of
|
10 | 10 | OpenShot Video Editor (http://www.openshot.org), an open-source project
|
11 | 11 | dedicated to delivering high quality video editing and animation solutions
|
12 | 12 | to the world.
|
13 |
| - |
| 13 | +
|
14 | 14 | OpenShot Video Editor is free software: you can redistribute it and/or modify
|
15 | 15 | it under the terms of the GNU General Public License as published by
|
16 | 16 | the Free Software Foundation, either version 3 of the License, or
|
17 | 17 | (at your option) any later version.
|
18 |
| - |
| 18 | +
|
19 | 19 | OpenShot Video Editor is distributed in the hope that it will be useful,
|
20 | 20 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21 | 21 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22 | 22 | GNU General Public License for more details.
|
23 |
| - |
| 23 | +
|
24 | 24 | You should have received a copy of the GNU General Public License
|
25 | 25 | along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
|
26 | 26 | """
|
@@ -334,5 +334,5 @@ def Speed(self, new_speed):
|
334 | 334 | """ Set the speed of the video player """
|
335 | 335 |
|
336 | 336 | # Set speed
|
337 |
| - if self.parent.initialized: |
| 337 | + if self.parent.initialized and self.player.Speed() != new_speed: |
338 | 338 | self.player.Speed(new_speed)
|
0 commit comments