]> git.sesse.net Git - vlc/blobdiff - modules/access/dshow/common.h
Use pl_Yield and pl_Release instead of vlc_object_find.
[vlc] / modules / access / dshow / common.h
index eadc37d1927fde6ea58b460671bf352bc073f76a..6a3f2b5ea22a3c1fb09f567f767a658782e88026 100644 (file)
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * common.h : DirectShow access module for vlc
  *****************************************************************************
- * Copyright (C) 2002 VideoLAN (Centrale Réseaux) and its contributors
+ * Copyright (C) 2002 the VideoLAN team
  * $Id$
  *
  * Author: Gildas Bazin <gbazin@videolan.org>
@@ -18,7 +18,7 @@
  *
  * 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, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
 /*****************************************************************************
@@ -34,11 +34,16 @@ using namespace std;
 #   include <unknwn.h>
 #   include <ole2.h>
 #   include <limits.h>
+#   ifdef _WINGDI_
+#      undef _WINGDI_
+#   endif
 #   define _WINGDI_ 1
 #   define AM_NOVTABLE
 #   define _OBJBASE_H_
 #   undef _X86_
-#   define _I64_MAX LONG_LONG_MAX
+#   ifndef _I64_MAX
+#     define _I64_MAX LONG_LONG_MAX
+#   endif
 #   define LONGLONG long long
 #endif
 
@@ -90,4 +95,5 @@ struct access_sys_t
     int            i_width;
     int            i_height;
     int            i_chroma;
+    bool           b_chroma; /* Force a specific chroma on the dshow input */
 };