summarylogtreecommitdiffstats
path: root/alephone-r5002-remove-deprecated-ffmpeg-quality-setting.diff
diff options
context:
space:
mode:
authorCarsten Teibes2014-03-17 15:53:30 +0100
committerCarsten Teibes2014-03-17 15:53:30 +0100
commit217c3cc432e9dd3a59e55340741dff4a7ee0cdd9 (patch)
tree8da88f28cdc0857adbaef62c27093cfd8630503d /alephone-r5002-remove-deprecated-ffmpeg-quality-setting.diff
parent59baa223ecbdc716a924f36bf9a8a8a41c2cb077 (diff)
downloadaur-217c3cc432e9dd3a59e55340741dff4a7ee0cdd9.tar.gz
[fix] Update patches, use correct data directory
Confirm alephone-marathon, alephone-marathon2 and marathon-infinity as tested.
Diffstat (limited to 'alephone-r5002-remove-deprecated-ffmpeg-quality-setting.diff')
-rw-r--r--alephone-r5002-remove-deprecated-ffmpeg-quality-setting.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/alephone-r5002-remove-deprecated-ffmpeg-quality-setting.diff b/alephone-r5002-remove-deprecated-ffmpeg-quality-setting.diff
new file mode 100644
index 000000000000..8fa65823d764
--- /dev/null
+++ b/alephone-r5002-remove-deprecated-ffmpeg-quality-setting.diff
@@ -0,0 +1,13 @@
+Index: Source_Files/FFmpeg/Movie.cpp
+===================================================================
+--- Source_Files/FFmpeg/Movie.cpp (Revision 5001)
++++ Source_Files/FFmpeg/Movie.cpp (Revision 5002)
+@@ -491,7 +491,7 @@
+
+ // tuning options
+ int aq = graphics_preferences->movie_export_audio_quality;
+- audio_stream->codec->global_quality = audio_stream->quality = FF_QP2LAMBDA * (aq / 10);
++ audio_stream->codec->global_quality = FF_QP2LAMBDA * (aq / 10);
+ audio_stream->codec->flags |= CODEC_FLAG_QSCALE;
+
+ // find correct sample format