Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2018 00:24:46 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r484266 - head/multimedia/libva-intel-media-driver/files
Message-ID:  <201811060024.wA60Okis036833@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Nov  6 00:24:45 2018
New Revision: 484266
URL: https://svnweb.freebsd.org/changeset/ports/484266

Log:
  multimedia/libva-intel-media-driver: unbreak fbres fallback (nop)
  
  media_driver/linux/common/codec/ddi/media_libva_decoder.cpp:90:15: error: use of undeclared identifier 'DEFAULT_FBDEV'
      fd = open(DEFAULT_FBDEV,O_RDONLY);
                ^

Modified:
  head/multimedia/libva-intel-media-driver/files/patch-fbres   (contents, props changed)

Modified: head/multimedia/libva-intel-media-driver/files/patch-fbres
==============================================================================
--- head/multimedia/libva-intel-media-driver/files/patch-fbres	Tue Nov  6 00:24:23 2018	(r484265)
+++ head/multimedia/libva-intel-media-driver/files/patch-fbres	Tue Nov  6 00:24:45 2018	(r484266)
@@ -2,7 +2,7 @@ Get framebuffer resolution on more platforms
 
 --- media_driver/linux/common/codec/ddi/media_libva_decoder.cpp.orig	2018-10-01 21:39:52 UTC
 +++ media_driver/linux/common/codec/ddi/media_libva_decoder.cpp
-@@ -45,7 +45,38 @@
+@@ -45,7 +45,39 @@
  #include <X11/Xutil.h>
  #endif
  
@@ -32,6 +32,7 @@ Get framebuffer resolution on more platforms
 +#define xres width
 +#define yres height
 +#else
++#define DEFAULT_FBDEV "/dev/fb0"
 +#define FBIOGET_VSCREENINFO 0
 +struct fb_var_screeninfo {
 +    uint32_t xres;
@@ -41,7 +42,7 @@ Get framebuffer resolution on more platforms
  
  typedef MediaDdiFactory<DdiMediaDecode, DDI_DECODE_CONFIG_ATTR> DdiDecodeFactory;
  static int32_t DdiDecode_GetDisplayInfo(VADriverContextP ctx)
-@@ -56,7 +70,7 @@ static int32_t DdiDecode_GetDisplayInfo(VADriverContex
+@@ -56,7 +88,7 @@ static int32_t DdiDecode_GetDisplayInfo(VADriverContex
      vsinfo.xres                           = 0;
      vsinfo.yres                           = 0;
  



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811060024.wA60Okis036833>