Mercurial > mplayer.hg
view libmpdvdkit2/nav_print.h @ 10621:9f4af7d95d87
this small patch allows to compile the file libmpdemux/tvi_v4l.c properly,
when the Linux is patched with the V4L2 patch, which automatically
includes <linux/videodev2.h> when you include <linux/videodev.h>.
It is necessary then to prevent <linux/time.h> from including (by defining
the _LINUX_TIME_H macro) in order to resolve some collisions and it is
also necessary to prevent the defining of "struct v4l2_capability" and
"VIDIOC_QUERYCAP" in libmpdemux/tvi_v4l.c, when they are allready defined
in the <linux/videodev2.h>.
Patch by Martin Drab <drab@kepler.fjfi.cvut.cz>, checked by Arpi.
author | diego |
---|---|
date | Fri, 15 Aug 2003 15:25:55 +0000 |
parents | 596919e4f601 |
children | 25df9508f9a8 |
line wrap: on
line source
#ifndef NAV_PRINT_H_INCLUDED #define NAV_PRINT_H_INCLUDED /* * Copyright (C) 2001 Billy Biggs <vektor@dumbterm.net>, * Håkan Hjort <d95hjort@dtek.chalmers.se> * * 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 * the Free Software Foundation; either version 2 of the License, or (at * your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "nav_types.h" #ifdef __cplusplus extern "C" { #endif /** * Prints information contained in the PCI to stdout. */ void navPrint_PCI(pci_t *); /** * Prints information contained in the DSI to stdout. */ void navPrint_DSI(dsi_t *); #ifdef __cplusplus }; #endif #endif /* NAV_PRINT_H_INCLUDED */