You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/strigi/files/strigi-0.7.8-libav10.patch

17 lines
972 B

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