Changeset 1ce23b854fd7bf0805f1cdd5969ac8c2ead2d5c3

Show
Ignore:
Timestamp:
04/20/04 03:00:29 (4 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1082422829 +0000
git-parent:

[aff2275604f2aba8da89b9ec6bffaed40dee02df]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1082422829 +0000
Message:

* extras/contrib/src

  • fix goom location
  • some small url improvements. please test the contrib system.

* modules/gui/macosx/*

  • autodetect Quartz Extreme. Use OpenGL vout if present.
  • --macosx-vout auto|quartz|opengl to force a vout.

* Makefile.am: add share/http/vlm to target.
* NEWS: small updates
* AUTHORS: updated my email address.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • AUTHORS

    rb0e050e r1ce23b8  
    169169 
    170170N: Derk-Jan Hartman 
    171 E: thedj@users.sourceforge.net 
     171E: hartman@videolan.org 
    172172C: hartman 
    173173D: Mac OS X interface 
  • Makefile.am

    rfab59c0 r1ce23b8  
    508508      $(INSTALL) -m 644 $${i} $(top_builddir)/VLC.app/Contents/MacOS/share/http/`basename $${i}` ; \ 
    509509    done ; \ 
     510    $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share/http/vlm 
     511    for i in $(srcdir)/share/http/vlm/* ; do \ 
     512      $(INSTALL) -m 644 $${i} $(top_builddir)/VLC.app/Contents/MacOS/share/http/vlm/`basename $${i}` ; \ 
     513    done ; \ 
    510514    $(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS/share/http/admin 
    511515    for i in $(srcdir)/share/http/admin/* ; do \ 
  • NEWS

    raff2275 r1ce23b8  
    77 * Bookmarks feature for easier seeking/access inside medias. 
    88 * Support for video output embedded in interfaces. 
    9  * Improved http daemon. 
     9 * Improved HTTP daemon 
    1010 
    1111Codecs: 
    1212 * New Continuous Media Markup Language (CMML) codec. 
    1313   (http://www.annodex.net/overview.html) 
    14  * New h261 video decoder using openmash. 
     14 * New H.261 video decoder using openmash. 
    1515 * Packetizer interfaced between demux and codec when needed 
    1616   (allows using ffmpeg plugin to decode MPEG streams and better aac decoding). 
    1717 
    1818Input: 
    19  * mmsh streaming fixes. 
    20  * subviewer and subviewer v2 subtitles support. 
    21  * Annodex support (http://www.annodex.net). 
     19 * --start-time <sec> and --stop-time <sec> to start and stop playing a  
     20   file at the specified amount of seconds. Only works with a few 
     21   fileformats (avi, mov, mkv, mp4 ) 
     22 * Improved directory access module. 
    2223 * New "file-cat" option to play truncated movies. 
    2324 * Better handling of meta info (title, author, description, etc...). 
    2425 * New options to pass meta info to the input. 
    25  * New start-time and stop-time options. 
     26 
     27Demux: 
     28 * Annodex (http://www.annodex.net) support 
     29 * Subviewer and subviewer v2 subtitles support. 
     30 * mmsh streaming fixes. 
    2631 
    2732Stream output: 
    2833 * Improved session announcement system. 
    29  * Minimize threads useage by default. 
     34 * Minimize threads usage by default. 
    3035 * Added faster than realtime stream output (limited by CPU) for file output. 
    3136 * Improved MOV/MP4 muxer. 
     
    3742 * New videolan (media) manager (vlm): a little manager designed to launch 
    3843   and manage multiple streams from within one instance of VLC. 
     44 * Supports live streams and VoD. 
     45 * Supports scheduling. 
    3946 * Telnet interface for vlm. 
    40  * Http interface for vlm. 
     47 * HTTP interface for vlm. 
    4148 
    4249Interfaces: 
     
    4855    - New design and set of icons. 
    4956    - Ability to embed video output. 
     57 
     58Mac OS X port: 
     59 * Support for 'groups' and playlist item properties. 
     60 * OpenGL video output is now the default when available. 
    5061 
    5162Win32 port: 
  • extras/contrib/src/Makefile

    r7ee41f3 r1ce23b8  
    679679# *************************************************************************** 
    680680 
    681 goom-dj.tar.gz: 
    682     $(WGET) $(GOOMDJ_URL) 
    683  
    684 goom: goom-dj.tar.gz 
     681goom-macosx-altivec-bin.tar.gz: 
     682    $(WGET) $(GOOM_URL) 
     683 
     684goom: goom-mascosx-altivec-bin.tar.gz 
    685685    $(EXTRACT_GZ) 
    686686 
     
    691691CLEAN_FILE += .goom 
    692692CLEAN_PKG += goom 
    693 DISTCLEAN_PKG += goom-dj.tar.gz 
     693DISTCLEAN_PKG += goom-macosx-altivec-bin.tar.gz 
    694694 
    695695# *************************************************************************** 
  • extras/contrib/src/packages.mak

    r7ee41f3 r1ce23b8  
    2525GNU=http://ftp.gnu.org/pub/gnu 
    2626SF=http://heanet.dl.sourceforge.net/sourceforge 
    27 VIDEOLAN=http://download.videolan.org/pub/testing/contrib 
     27VIDEOLAN=http://download.videolan.org/pub/videolan 
    2828AUTOCONF_VERSION=2.58 
    2929AUTOCONF_URL=$(GNU)/autoconf/autoconf-$(AUTOCONF_VERSION).tar.gz 
     
    5555VORBIS_VERSION=1.0 
    5656VORBIS_URL=http://www.xiph.org/ogg/vorbis/download/libvorbis-$(VORBIS_VERSION).tar.gz 
    57 #VORBIS_URL=$(VIDEOLAN)/libvorbis-$(VORBIS_VERSION).tar.gz 
    5857THEORA_VERSION=1.0alpha2 
    5958THEORA_URL=http://www.theora.org/files/libtheora-$(THEORA_VERSION).tar.gz 
     
    6362SPEEX_URL=http://www.speex.org/download/speex-$(SPEEX_VERSION).tar.gz 
    6463FAAD2_VERSION=2.0 
    65 FAAD2_URL=$(VIDEOLAN)/faad2-$(FAAD2_VERSION).tar.bz2 
     64FAAD2_URL=$(VIDEOLAN)/testing/contrib/faad2-$(FAAD2_VERSION).tar.bz2 
    6665FAAD2_CVSROOT=:pserver:anonymous@cvs.audiocoding.com:/cvsroot/faac 
    6766LAME_VERSION=3.93.1 
     
    7776OPENSLP_URL=$(SF)/openslp/openslp-$(OPENSLP_VERSION).tar.gz 
    7877LIBDVDCSS_VERSION=1.2.8 
    79 LIBDVDCSS_URL=http://download.videolan.org/pub/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.gz 
     78LIBDVDCSS_URL=$(VIDEOLAN)/libdvdcss/$(LIBDVDCSS_VERSION)/libdvdcss-$(LIBDVDCSS_VERSION).tar.gz 
    8079LIBDVDREAD_VERSION=0.9.4 
    8180LIBDVDREAD_URL=http://www.dtek.chalmers.se/groups/dvd/dist/libdvdread-$(LIBDVDREAD_VERSION).tar.gz 
    8281LIBDVDPLAY_VERSION=1.0.1 
    83 LIBDVDPLAY_URL=http://download.videolan.org/pub/libdvdplay/$(LIBDVDPLAY_VERSION)/libdvdplay-$(LIBDVDPLAY_VERSION).tar.gz 
     82LIBDVDPLAY_URL=$(VIDEOLAN)/libdvdplay/$(LIBDVDPLAY_VERSION)/libdvdplay-$(LIBDVDPLAY_VERSION).tar.gz 
    8483LIBDVDNAV_VERSION=0.1.9 
    8584LIBDVDNAV_URL=http://ftp.snt.utwente.nl/pub/linux/gentoo/distfiles/libdvdnav-$(LIBDVDNAV_VERSION).tar.gz 
    8685LIBDVBPSI_VERSION=0.1.4 
    87 LIBDVBPSI_URL=http://download.videolan.org/pub/libdvbpsi/$(LIBDVBPSI_VERSION)/libdvbpsi3-$(LIBDVBPSI_VERSION).tar.gz 
     86LIBDVBPSI_URL=$(VIDEOLAN)/libdvbpsi/$(LIBDVBPSI_VERSION)/libdvbpsi3-$(LIBDVBPSI_VERSION).tar.gz 
    8887LIVEDOTCOM_VERSION=2004.04.09 
    89 LIVEDOTCOM_URL=http://download.videolan.org/pub/testing/contrib/live.$(LIVEDOTCOM_VERSION).tar.gz 
    90 GOOMDJ_URL=http://sidekick.student.utwente.nl/videolan/goom-dj.tar.gz 
     88LIVEDOTCOM_URL=$(VIDEOLAN)/testing/contrib/live.$(LIVEDOTCOM_VERSION).tar.gz 
     89GOOM_URL=$(VIDEOLAN)/testing/contrib/goom-macosx-altivec-bin.tar.gz 
    9190LIBCACA_VERSION=0.9 
    9291LIBCACA_URL=http://sam.zoy.org/projects/libcaca/libcaca-$(LIBCACA_VERSION).tar.gz 
    9392LIBDTS_VERSION=0.0.2 
    94 LIBDTS_URL=http://download.videolan.org/pub/videolan/libdts/$(LIBDTS_VERSION)/libdts-$(LIBDTS_VERSION).tar.gz 
     93LIBDTS_URL=$(VIDEOLAN)/libdts/$(LIBDTS_VERSION)/libdts-$(LIBDTS_VERSION).tar.gz 
    9594MODPLUG_VERSION=0.7 
    96 MODPLUG_URL=http://download.videolan.org/pub/videolan/contrib/libmodplug-$(MODPLUG_VERSION).tar.gz 
     95MODPLUG_URL=$(VIDEOLAN)/testing/contrib/libmodplug-$(MODPLUG_VERSION).tar.gz 
    9796MASH_VERSION=5.2 
    9897MASH_URL=$(SF)/openmash/mash-src-$(MASH_VERSION).tar.gz 
  • modules/gui/macosx/macosx.m

    r7c144c5 r1ce23b8  
    6060        "to fill the entire window." ) 
    6161 
    62 #define OPENGL_TEXT N_("Use OpenGL") 
    63 #define OPENGL_LONGTEXT N_("Use OpenGL instead of QuickTime to " \ 
    64         "render the video on the screen.") 
     62#define MACOSX_VOUT_TEXT N_("Force a video rendering mode.") 
     63#define MACOSX_VOUT_LONGTEXT N_("The default method is OpenGL " \ 
     64        "for Quartz Extreme machines and Quartz for the others.") 
    6565 
    6666#define OPENGL_EFFECT_TEXT N_("OpenGL effect") 
     
    7878static char * effect_list_text[] = { N_("None"), N_("Cube"), 
    7979                                     N_("Transparent cube") }; 
     80 
     81static char *ppsz_vout_list[] = { "auto", "quartz", "opengl" }; 
     82static char *ppsz_vout_list_text[] = { N_("Auto"), "Quartz", "OpenGL" }; 
    8083     
    8184vlc_module_begin(); 
     
    9295        add_float_with_range( "macosx-opaqueness", 1, 0, 1, NULL, 
    9396                OPAQUENESS_TEXT, OPAQUENESS_LONGTEXT, VLC_TRUE ); 
    94         add_bool( "macosx-opengl", 1, NULL, OPENGL_TEXT, 
    95                   OPENGL_LONGTEXT, VLC_TRUE ); 
     97        add_string( "macosx-vout", "auto", NULL, MACOSX_VOUT_TEXT, 
     98                MACOSX_VOUT_LONGTEXT, VLC_TRUE ); 
     99        change_string_list( ppsz_vout_list, ppsz_vout_list_text, 0 ); 
    96100        add_string( "macosx-opengl-effect", "none", NULL, 
    97101                    OPENGL_EFFECT_TEXT, OPENGL_EFFECT_LONGTEXT, 
  • modules/gui/macosx/vout.m

    rd93ca7c r1ce23b8  
    9292    OSErr err; 
    9393    int i_timeout; 
     94    char *psz_vout_type; 
    9495 
    9596    p_vout->p_sys = malloc( sizeof( vout_sys_t ) ); 
     
    147148 
    148149    /* Check if we should use QuickTime or OpenGL */ 
    149     p_vout->p_sys->i_opengl = config_GetInt( p_vout, "macosx-opengl" ); 
    150  
     150    psz_vout_type = config_GetPsz( p_vout, "macosx-vout" ); 
     151 
     152    if( !strncmp( psz_vout_type, "auto", 4 ) ) 
     153    { 
     154        p_vout->p_sys->i_opengl = CGDisplayUsesOpenGLAcceleration( kCGDirectMainDisplay ); 
     155    } 
     156    else if( !strncmp( psz_vout_type, "opengl", 6 ) ) 
     157    { 
     158        p_vout->p_sys->i_opengl = VLC_TRUE; 
     159    } 
     160    else 
     161    { 
     162        p_vout->p_sys->i_opengl = VLC_FALSE; 
     163    } 
     164    free( psz_vout_type ); 
     165     
    151166    if( !p_vout->p_sys->i_opengl ) 
    152167    { 
     
    191206            return VLC_EGENERIC;         
    192207        } 
     208        msg_Dbg( p_vout, "using Quartz mode" ); 
     209    } 
     210    else 
     211    { 
     212        msg_Dbg( p_vout, "using OpenGL mode" ); 
    193213    } 
    194214 
     
    15071527        NSOpenGLPFAFullScreen, 
    15081528        NSOpenGLPFAScreenMask, 
    1509         /* TODO handle macosxx-vdev */ 
     1529        /* TODO handle macosx-vdev */ 
    15101530        CGDisplayIDToOpenGLDisplayMask( kCGDirectMainDisplay ), 
    15111531        0