openbsd-ports/x11/mplayer/patches/patch-stream_tvi_v4l2_c
jakemsr 8cf7b6253f update to mplayer-export-snapshot-20100308
locally:
* fix audio when using bsdbt848 video driver (problems noted by simon@)
* allow 24-bit audio output formats in the sndio backend (from ratchov@)

mostly from edd@ (MAINTAINER)
2010-05-26 21:29:56 +00:00

17 lines
481 B
Plaintext

$OpenBSD: patch-stream_tvi_v4l2_c,v 1.3 2010/05/26 21:29:56 jakemsr Exp $
--- stream/tvi_v4l2.c.orig Fri Dec 11 21:33:57 2009
+++ stream/tvi_v4l2.c Mon Mar 8 14:28:42 2010
@@ -49,8 +49,12 @@ known issues:
#ifdef HAVE_SYS_SYSINFO_H
#include <sys/sysinfo.h>
#endif
+#ifdef __OpenBSD__
+#include <sys/videoio.h>
+#else
#include <linux/types.h>
#include <linux/videodev2.h>
+#endif
#include "mp_msg.h"
#include "libmpcodecs/img_format.h"
#include "libmpcodecs/dec_teletext.h"