Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Apr 2011 17:32:45 GMT
From:      Mickael Maillot <mickael.maillot@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/156648: [PATCH] multimedia/xbmc fix vdpau first init
Message-ID:  <201104251732.p3PHWjDr011144@red.freebsd.org>
Resent-Message-ID: <201104251740.p3PHe6Sw042858@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156648
>Category:       ports
>Synopsis:       [PATCH] multimedia/xbmc fix vdpau first init
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 25 17:40:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Mickael Maillot
>Release:        
>Organization:
>Environment:
>Description:
the first vdpau initialisation failed.
the patch update files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VDPAU.cpp
port revision can be bumped, or not because it's default disabled option.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VDPAU.cpp.orig	2011-04-25 19:30:33.000000000 +0200
+++ files/patch-xbmc__cores__dvdplayer__DVDCodecs__Video__VDPAU.cpp	2011-04-25 19:30:47.000000000 +0200
@@ -1,11 +1,13 @@
---- xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp.orig	2010-12-17 07:17:41.000000000 +0100
-+++ xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp	2010-12-28 13:26:49.000000000 +0100
-@@ -647,7 +647,7 @@
+--- xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp.orig	2011-03-05 04:33:37.000000000 +0100
++++ xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp	2011-04-25 19:11:54.000000000 +0200
+@@ -647,8 +647,9 @@
  
  void CVDPAU::InitVDPAUProcs()
  {
 -  char* error;
 +  const char* error;
  
++  (void)dlerror();
    dl_vdp_device_create_x11 = (VdpStatus (*)(Display*, int, VdpDevice*, VdpStatus (**)(VdpDevice, VdpFuncId, void**)))dlsym(dl_handle, (const char*)"vdp_device_create_x11");
    error = dlerror();
+   if (error)


>Release-Note:
>Audit-Trail:
>Unformatted:



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