Ticket #4653: 27_minimal_skiploop.dpatch

File 27_minimal_skiploop.dpatch, 1.1 KB (added by reidjr_at_lineone.net, 15 years ago)
Line 
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## 27_updated_skiploop_options.dpatch by John Reid <reidjr_at_lineone.net>
3## WAS: 25_skiploop_option.dpatch by Michael Haas <laga@laga.ath.cx>
4##
5## All lines beginning with `## DP:' are a description of the patch.
6## DP: Permanantly dissbles deblocking loop filter for h.264 ffmpeg.
7## DP: Reduces CPU usage when playing h.264 content.
8## DP: Minimal change, but can't see any degredation of quality.
9## DP: Updated by reidjr_at_lineone_net, against mythtv-0.22.0~trunk21644
10
11@DPATCH@
12
13diff -urNad mythtv-0.22.0~trunk21644~/libs/libmythtv/avformatdecoder.cpp mythtv-0.22.0~trunk21644/libs/libmythtv/avformatdecoder.cpp
14--- mythtv-0.22.0~trunk21644~/libs/libmythtv/avformatdecoder.cpp        2009-09-01 23:49:21.000000000 +0100
15+++ mythtv-0.22.0~trunk21644/libs/libmythtv/avformatdecoder.cpp 2009-09-03 23:04:23.000000000 +0100
16@@ -1618,6 +1618,7 @@
17                 uint height = max(enc->height, 16);
18                 QString dec = "ffmpeg";
19                 uint thread_count = 1;
20+                enc->skip_loop_filter = AVDISCARD_ALL;
21 
22                 if (!is_db_ignored)
23                 {
24