Changeset 0d90e5238d42bf1f8e51f99cce6c7688db7def58

Show
Ignore:
Timestamp:
12/04/03 13:33:43 (5 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1070541223 +0000
git-parent:

[c3638c4d8731baea8d505925a41c760afb13ade6]

git-author:
Gildas Bazin <gbazin@videolan.org> 1070541223 +0000
Message:

* toolbox: use the "Output_Dir" property when generating the msvc project files so we don't end-up with name conflicts when compiling.
* msvc/config.h.in, modules/access_output/file.c: MSVC fixes.
* modules/video_chroma/i420_rgb.c: don't use our RV24 conversion routine on win32 because it assumes 32 bits per pixel.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access_output/file.c

    r3f35190 r0d90e52  
    33 ***************************************************************************** 
    44 * Copyright (C) 2001, 2002 VideoLAN 
    5  * $Id: file.c,v 1.9 2003/09/07 20:08:31 fenrir Exp $ 
     5 * $Id: file.c,v 1.10 2003/12/04 12:33:43 gbazin Exp $ 
    66 * 
    77 * Authors: Laurent Aimar <fenrir@via.ecp.fr> 
     
    4949#ifndef S_IROTH 
    5050#   define S_IROTH 0 
     51#endif 
     52#ifndef STDOUT_FILENO 
     53#   define STDOUT_FILENO 1 
    5154#endif 
    5255 
  • modules/video_chroma/i420_rgb.c

    r41a8349 r0d90e52  
    33 ***************************************************************************** 
    44 * Copyright (C) 2000, 2001 VideoLAN 
    5  * $Id: i420_rgb.c,v 1.4 2003/08/29 18:58:05 fenrir Exp $ 
     5 * $Id: i420_rgb.c,v 1.5 2003/12/04 12:33:43 gbazin Exp $ 
    66 * 
    77 * Authors: Samuel Hocevar <sam@zoy.org> 
     
    123123                    break; 
    124124 
    125                 case VLC_FOURCC('R','V','2','4'): 
     125#ifndef WIN32 /* Hmmm, is there only X11 using 32bits per pixel for RV24 ? */ 
     126        case VLC_FOURCC('R','V','2','4'): 
     127#endif 
    126128                case VLC_FOURCC('R','V','3','2'): 
    127129#if defined (MODULE_NAME_IS_i420_rgb_mmx) 
  • msvc/config.h.in

    rcf4cf63 r0d90e52  
    9494#define HAVE_SYS_STAT_H 1 
    9595 
    96 /* Define to 1 if you have the <sys/time.h> header file. */ 
    97 #define HAVE_SYS_TIME_H 1 
    98  
    9996/* Define to 1 if you have the <sys/types.h> header file. */ 
    10097#define HAVE_SYS_TYPES_H 1 
  • toolbox

    rdecbe36 r0d90e52  
    22 
    33##  toolbox for the VLC media player 
    4 ##  $Id: toolbox,v 1.50 2003/11/27 00:05:51 sam Exp $ 
     4##  $Id: toolbox,v 1.51 2003/12/04 12:33:42 gbazin Exp $ 
    55## 
    66##  Authors: Samuel Hocevar <sam@zoy.org> 
     
    160160 
    161161  # Clean up 
    162   rm -f evc/*.vcp msvc/*.dsp 
     162  rm -f evc/*.vcp msvc/*.dsp msvc/*.vcproj msvc/*.sln msvc/*.ncb 
    163163 
    164164  # config files 
     
    195195      for file in `for i in ${LIBVLC_SOURCES} ; do echo $i ; done | grep "/${subdir}/"` 
    196196      do 
     197      subdir="`echo ${file} | sed -e 's%/[^/]*$%/%' | sed -e 's%/%\\\\%g'`" 
    197198      if test "${target}" = "evc/libvlc.vcp" 
    198199      then 
     
    306307SOURCE="..\\modules\\`echo ${dir}/${cfile} | sed 's,/,\\\\,g'`"${M} 
    307308# ADD CPP /D "__VLC__" /D "__PLUGIN__"  /D "MODULE_NAME=${mod}" /D "MODULE_NAME_IS_${mod}" ${M} 
     309!IF "\$(CFG)" == "plugin_${mod} - Win32 Release"${M} 
     310# PROP Output_Dir "Release\\modules\\`echo ${dir} | sed 's,/,\\\\,g'`"${M} 
     311# PROP Intermediate_Dir "Release\\modules\\`echo ${dir} | sed 's,/,\\\\,g'`"${M} 
     312!ELSEIF "\$(CFG)" == "plugin_${mod} - Win32 Debug"${M} 
     313# PROP Output_Dir "Debug\\modules\\`echo ${dir} | sed 's,/,\\\\,g'`"${M} 
     314# PROP Intermediate_Dir "Debug\\modules\\`echo ${dir} | sed 's,/,\\\\,g'`"${M} 
    308315# End Source File${M} 
    309316EOF