openbsd-ports/x11/mplayer/patches/patch-stream_tvi_v4l2_c
edd b4530c988d New version of mplayer based upon a snapshot (20090708).
* fixes some flv playback
  * removed ggi output - broken i386/sparc64.
  * removed gui (deprecated) - use gnome-mplayer instead.
  * removed win32 codecs - opensource codecs are good quality.

OK, naddy@, sthen@
2009-10-11 13:36:23 +00:00

17 lines
468 B
Plaintext

$OpenBSD: patch-stream_tvi_v4l2_c,v 1.2 2009/10/11 13:36:23 edd Exp $
--- stream/tvi_v4l2.c.orig Thu Jul 9 16:35:01 2009
+++ stream/tvi_v4l2.c Thu Jul 9 16:35:48 2009
@@ -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 "libaf/af_format.h"