Commit 5e69820c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

VAAPI: fix compilation breakage

parent 8af35880
/***************************************************************************** /*****************************************************************************
* vaapi.c: VAAPI helpers for the ffmpeg decoder * vaapi.c: VAAPI helpers for the ffmpeg decoder
***************************************************************************** *****************************************************************************
* Copyright (C) 2009 Laurent Aimar * Copyright (C) 2009 Laurent Aimar
* $Id$ * $Id$
* *
* Authors: Laurent Aimar <fenrir_AT_ videolan _DOT_ org> * Authors: Laurent Aimar <fenrir_AT_ videolan _DOT_ org>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h" # include "config.h"
...@@ -45,14 +45,14 @@ ...@@ -45,14 +45,14 @@
#include <libavcodec/vaapi.h> #include <libavcodec/vaapi.h>
#include <X11/Xlib.h>
#include <va/va_x11.h>
#ifndef VA_SURFACE_ATTRIB_SETTABLE #ifndef VA_SURFACE_ATTRIB_SETTABLE
#define vaCreateSurfaces(d, f, w, h, s, ns, a, na) \ #define vaCreateSurfaces(d, f, w, h, s, ns, a, na) \
vaCreateSurfaces(d, w, h, f, ns, s) vaCreateSurfaces(d, w, h, f, ns, s)
#endif #endif
#include <X11/Xlib.h>
#include <va/va_x11.h>
typedef struct typedef struct
{ {
VASurfaceID i_id; VASurfaceID i_id;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment