~ubuntu-branches/ubuntu/maverick/vlc/maverick

« back to all changes in this revision

Viewing changes to modules/video_output/x11/xvideo.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-09-17 21:56:14 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: james.westby@ubuntu.com-20080917215614-tj0vx8xzd57e52t8
Tags: 0.9.2-1ubuntu1
* New Upstream Release, exception granted by
    - dktrkranz, norsetto, Hobbsee (via irc). LP: #270404

Changes done in ubuntu:

* add libxul-dev to build-depends
* make sure that vlc is build against libxul in configure. This doesn't
  change anything in the package, but makes it more robust if building
  in an 'unclean' chroot or when modifying the package.
* debian/control: make Vcs-* fields point to the motumedia branch
* add libx264-dev and libass-dev to build-depends
  LP: #210354, #199870
* actually enable libass support by passing --enable-libass to configure
* enable libdca: add libdca-dev to build depends and --enable-libdca
* install the x264 plugin.

Changes already in the pkg-multimedia branch in debian:

* don't install usr/share/vlc/mozilla in debian/mozilla-plugin-vlc.install  
* new upstream .desktop file now registers flash video mimetype LP: #261567
* add Xb-Npp-Applications to mozilla-plugin-vlc
* remove duplicate entries in debian/vlc-nox.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * xvideo.c : Xvideo plugin for vlc
3
3
 *****************************************************************************
4
4
 * Copyright (C) 1998-2001 the VideoLAN team
5
 
 * $Id: daa258a07b23745b4fca7f900f5500e8cd83b365 $
 
5
 * $Id$
6
6
 *
7
7
 * Authors: Shane Harper <shanegh@optusnet.com.au>
8
8
 *          Vincent Seguin <seguin@via.ecp.fr>
27
27
/*****************************************************************************
28
28
 * Preamble
29
29
 *****************************************************************************/
30
 
#include <stdlib.h>                                      /* malloc(), free() */
31
 
#include <string.h>                                            /* strerror() */
32
 
 
33
 
#include <vlc/vlc.h>
 
30
 
 
31
#ifdef HAVE_CONFIG_H
 
32
# include "config.h"
 
33
#endif
 
34
 
 
35
#include <vlc_common.h>
 
36
#include <vlc_plugin.h>
34
37
 
35
38
/*****************************************************************************
36
39
 * Exported prototypes
37
40
 *****************************************************************************/
38
 
extern int  E_(Activate)   ( vlc_object_t * );
39
 
extern void E_(Deactivate) ( vlc_object_t * );
 
41
extern int  Activate   ( vlc_object_t * );
 
42
extern void Deactivate ( vlc_object_t * );
40
43
 
41
44
/*****************************************************************************
42
45
 * Module descriptor
78
81
    set_shortname( "XVideo" );
79
82
    set_category( CAT_VIDEO );
80
83
    set_subcategory( SUBCAT_VIDEO_VOUT );
81
 
    add_string( "xvideo-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, VLC_TRUE );
82
 
    add_integer( "xvideo-adaptor", -1, NULL, ADAPTOR_TEXT, ADAPTOR_LONGTEXT, VLC_TRUE );
83
 
    add_bool( "xvideo-altfullscreen", 0, NULL, ALT_FS_TEXT, ALT_FS_LONGTEXT, VLC_TRUE );
84
 
    add_string( "xvideo-chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT, VLC_TRUE );
 
84
    add_string( "xvideo-display", NULL, NULL, DISPLAY_TEXT, DISPLAY_LONGTEXT, true );
 
85
    add_integer( "xvideo-adaptor", -1, NULL, ADAPTOR_TEXT, ADAPTOR_LONGTEXT, true );
 
86
    add_bool( "xvideo-altfullscreen", 0, NULL, ALT_FS_TEXT, ALT_FS_LONGTEXT, true );
 
87
    add_string( "xvideo-chroma", NULL, NULL, CHROMA_TEXT, CHROMA_LONGTEXT, true );
85
88
#ifdef HAVE_SYS_SHM_H
86
 
    add_bool( "xvideo-shm", 1, NULL, SHM_TEXT, SHM_LONGTEXT, VLC_TRUE );
 
89
    add_bool( "xvideo-shm", 1, NULL, SHM_TEXT, SHM_LONGTEXT, true );
87
90
#endif
88
91
#ifdef HAVE_XINERAMA
89
 
    add_integer ( "xvideo-xineramascreen", 0, NULL, SCREEN_TEXT, SCREEN_LONGTEXT, VLC_TRUE );
 
92
    add_integer ( "xvideo-xineramascreen", 0, NULL, SCREEN_TEXT, SCREEN_LONGTEXT, true );
90
93
#endif
91
94
 
92
 
    set_description( _("XVideo extension video output") );
 
95
    set_description( N_("XVideo extension video output") );
93
96
    set_capability( "video output", 150 );
94
 
    set_callbacks( E_(Activate), E_(Deactivate) );
 
97
    set_callbacks( Activate, Deactivate );
95
98
vlc_module_end();
96
99
 
97
100
/* following functions are local */