Hi,
the attached patch should fix this bug.

-- 
Anton Khirnov
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