Hello community,

here is the log from the commit of package ffmpegthumbs for openSUSE:Factory 
checked in at 2018-10-17 08:26:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ffmpegthumbs (Old)
 and      /work/SRC/openSUSE:Factory/.ffmpegthumbs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ffmpegthumbs"

Wed Oct 17 08:26:55 2018 rev:41 rq:641442 version:18.08.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/ffmpegthumbs/ffmpegthumbs.changes        
2018-09-15 15:27:21.145339486 +0200
+++ /work/SRC/openSUSE:Factory/.ffmpegthumbs.new/ffmpegthumbs.changes   
2018-10-17 08:28:11.146533271 +0200
@@ -1,0 +2,10 @@
+Thu Oct 11 20:06:44 UTC 2018 - [email protected]
+
+- Update to 18.08.2
+  * New bugfix release
+  * For more details please see:
+  * https://www.kde.org/announcements/announce-applications-18.08.2.php
+- Changes since 18.08.1:
+  * Check whether a frame could be decoded before seeking
+
+-------------------------------------------------------------------

Old:
----
  ffmpegthumbs-18.08.1.tar.xz

New:
----
  ffmpegthumbs-18.08.2.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ffmpegthumbs.spec ++++++
--- /var/tmp/diff_new_pack.ipL9Zf/_old  2018-10-17 08:28:13.882531113 +0200
+++ /var/tmp/diff_new_pack.ipL9Zf/_new  2018-10-17 08:28:13.886531110 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 Name:           ffmpegthumbs
-Version:        18.08.1
+Version:        18.08.2
 Release:        0
 %define kf5_version 5.26.0
 # Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)

++++++ ffmpegthumbs-18.08.1.tar.xz -> ffmpegthumbs-18.08.2.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ffmpegthumbs-18.08.1/ffmpegthumbnailer/moviedecoder.cpp 
new/ffmpegthumbs-18.08.2/ffmpegthumbnailer/moviedecoder.cpp
--- old/ffmpegthumbs-18.08.1/ffmpegthumbnailer/moviedecoder.cpp 2018-08-18 
07:30:38.000000000 +0200
+++ new/ffmpegthumbs-18.08.2/ffmpegthumbnailer/moviedecoder.cpp 2018-09-26 
10:24:42.000000000 +0200
@@ -227,7 +227,7 @@
 }
 
 
-void MovieDecoder::decodeVideoFrame()
+bool MovieDecoder::decodeVideoFrame()
 {
     bool frameFinished = false;
 
@@ -237,8 +237,9 @@
 
     if (!frameFinished) {
         qDebug() << "decodeVideoFrame() failed: frame not finished";
-        return;
     }
+
+    return frameFinished;
 }
 
 bool MovieDecoder::decodeVideoPacket()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ffmpegthumbs-18.08.1/ffmpegthumbnailer/moviedecoder.h 
new/ffmpegthumbs-18.08.2/ffmpegthumbnailer/moviedecoder.h
--- old/ffmpegthumbs-18.08.1/ffmpegthumbnailer/moviedecoder.h   2018-08-18 
07:30:38.000000000 +0200
+++ new/ffmpegthumbs-18.08.2/ffmpegthumbnailer/moviedecoder.h   2018-09-26 
10:24:42.000000000 +0200
@@ -39,7 +39,7 @@
 
     QString getCodec();
     void seek(int timeInSeconds);
-    void decodeVideoFrame();
+    bool decodeVideoFrame();
     void getScaledVideoFrame(int scaledSize, bool maintainAspectRatio, 
VideoFrame& videoFrame);
 
     int getWidth();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ffmpegthumbs-18.08.1/ffmpegthumbnailer/videothumbnailer.cpp 
new/ffmpegthumbs-18.08.2/ffmpegthumbnailer/videothumbnailer.cpp
--- old/ffmpegthumbs-18.08.1/ffmpegthumbnailer/videothumbnailer.cpp     
2018-08-18 07:30:38.000000000 +0200
+++ new/ffmpegthumbs-18.08.2/ffmpegthumbnailer/videothumbnailer.cpp     
2018-09-26 10:24:42.000000000 +0200
@@ -98,7 +98,9 @@
 {
     MovieDecoder movieDecoder(videoFile, NULL);
     if (movieDecoder.getInitialized()) {
-        movieDecoder.decodeVideoFrame(); //before seeking, a frame has to be 
decoded
+        if (!movieDecoder.decodeVideoFrame()) { //before seeking, a frame has 
to be decoded
+            return;
+        }
         
         if ((!m_WorkAroundIssues) || (movieDecoder.getCodec() != 
QLatin1String("h264"))) { //workaround for bug in older ffmpeg (100% cpu usage 
when seeking in h264 files)
             int secondToSeekTo = m_SeekTime.isEmpty() ? 
movieDecoder.getDuration() * m_SeekPercentage / 100 : timeToSeconds(m_SeekTime);


Reply via email to