johu        14/07/13 11:50:06

  Added:                strigi-0.7.8-libav10.patch
  Log:
  Revision bump adds patch from debian to fix build with 
>=media-video/libav-10, spotted by Nikoli <nik...@gmx.us>, bug #509304.
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xF3CFD2BD)

Revision  Changes    Path
1.1                  app-misc/strigi/files/strigi-0.7.8-libav10.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/strigi/files/strigi-0.7.8-libav10.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-misc/strigi/files/strigi-0.7.8-libav10.patch?rev=1.1&content-type=text/plain

Index: strigi-0.7.8-libav10.patch
===================================================================
Index: strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp
===================================================================
--- 
strigi-0.7.8.orig/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp    
    2013-02-05 21:34:52.000000000 +0000
+++ strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp     
2014-02-28 21:45:10.570587443 +0000
@@ -481,9 +481,9 @@
           outs << codec.height;
           ar.addTriplet(streamuri, heightPropertyName, outs.str());
         }
-        if (stream.r_frame_rate.num && stream.r_frame_rate.den) {
+        if (stream.avg_frame_rate.num && stream.avg_frame_rate.den) {
           ostringstream outs;
-          outs << stream.r_frame_rate.num / stream.r_frame_rate.den;
+          outs << stream.avg_frame_rate.num / stream.avg_frame_rate.den;
           ar.addTriplet(streamuri, frameRatePropertyName, outs.str());
         }
         if (codec.pix_fmt != PIX_FMT_NONE) {}//FIXME pixel format




Reply via email to