summarylogtreecommitdiffstats
path: root/input_buffer_padding.patch
diff options
context:
space:
mode:
authornezumisama2015-06-14 17:54:37 +0200
committernezumisama2015-06-14 17:54:37 +0200
commit34e6d3e8af4ca718c02396176f184599eb8e1da5 (patch)
tree295bef41b4861d2e5c8c419c7a002635525a21da /input_buffer_padding.patch
downloadaur-34e6d3e8af4ca718c02396176f184599eb8e1da5.tar.gz
Initial commit.
Diffstat (limited to 'input_buffer_padding.patch')
-rw-r--r--input_buffer_padding.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/input_buffer_padding.patch b/input_buffer_padding.patch
new file mode 100644
index 000000000000..b8c31379f7e6
--- /dev/null
+++ b/input_buffer_padding.patch
@@ -0,0 +1,13 @@
+diff -Naur mplayer2.old/libmpdemux/demuxer.h mplayer2/libmpdemux/demuxer.h
+--- mplayer2.old/libmpdemux/demuxer.h 2014-07-27 12:52:23.710581692 +0200
++++ mplayer2/libmpdemux/demuxer.h 2014-07-27 12:54:10.541535634 +0200
+@@ -121,7 +121,7 @@
+ #define SEEK_BACKWARD (1 << 3)
+
+ // demux_lavf can pass lavf buffers using FF_INPUT_BUFFER_PADDING_SIZE instead
+-#define MP_INPUT_BUFFER_PADDING_SIZE 16
++#define MP_INPUT_BUFFER_PADDING_SIZE 32
+
+ typedef struct demux_stream {
+ int buffer_pos; // current buffer position
+