aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libva/files
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2012-10-12 23:15:35 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2012-10-12 23:15:35 +0000
commitddd3e5c7436571c56a3935e93e39e421454f4fe3 (patch)
tree7dfbf45e6d6de46274f455b714cd6a072105eb2f /multimedia/libva/files
parent8cd0203ddad634a71696b63bf1dd9a0a44f35abc (diff)
downloadports-ddd3e5c7436571c56a3935e93e39e421454f4fe3.tar.gz
ports-ddd3e5c7436571c56a3935e93e39e421454f4fe3.zip
Notes
Diffstat (limited to 'multimedia/libva/files')
-rw-r--r--multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp b/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp
index cfea87dc01bc..d257cb10a9e8 100644
--- a/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp
+++ b/multimedia/libva/files/patch-test-v4l_h264-encode-capture.cpp
@@ -1,6 +1,14 @@
--- test/v4l_h264/encode/capture.cpp.orig 2012-10-04 15:30:51.000000000 +0200
-+++ test/v4l_h264/encode/capture.cpp 2012-10-08 22:31:01.067189237 +0200
-@@ -37,7 +37,11 @@
++++ test/v4l_h264/encode/capture.cpp 2012-10-11 17:57:55.361081933 +0200
+@@ -30,6 +30,7 @@
+ */
+
+ #include <cstdlib> /* EXIT_FAILURE, EXIT_SUCCESS */
++#include <cstdio> /* printf */
+ #include <string>
+ #include <cstring> /* strerror() */
+ #include <cassert>
+@@ -37,7 +38,11 @@
#include <fcntl.h> /* low-level i/o */
#include <errno.h>
#include <unistd.h>
@@ -12,7 +20,7 @@
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
-@@ -451,10 +455,15 @@
+@@ -451,10 +456,15 @@
}
for (n_buffers = 0; n_buffers < 4; ++n_buffers) {
buffers[n_buffers].length = buffer_size;