~ubuntu-branches/debian/squeeze/vlc/squeeze

« back to all changes in this revision

Viewing changes to bin/vlc.c

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Mutricy
  • Date: 2009-09-20 01:08:41 UTC
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20090920010841-vc6vme91a70r5w0t
Tags: upstream-1.0.2
ImportĀ upstreamĀ versionĀ 1.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * vlc.c: the VLC player
3
3
 *****************************************************************************
4
4
 * Copyright (C) 1998-2008 the VideoLAN team
5
 
 * $Id: 55f7c5f70fe1a9bf403ab3f3d14a6c4a346d8987 $
 
5
 * $Id: 8917ff4f5284ca86d006dccf885a8be44f56aabe $
6
6
 *
7
7
 * Authors: Vincent Seguin <seguin@via.ecp.fr>
8
8
 *          Samuel Hocevar <sam@zoy.org>
73
73
#   ifndef NDEBUG
74
74
    /* Activate malloc checking routines to detect heap corruptions. */
75
75
    putenv( (char*)"MALLOC_CHECK_=2" );
76
 
#       ifdef __APPLE__
77
 
    putenv( (char*)"MallocErrorAbort=crash_my_baby_crash" );
78
 
#       endif
79
76
 
80
77
    /* Disable the ugly Gnome crash dialog so that we properly segfault */
81
78
    putenv( (char *)"GNOME_DISABLE_CRASH_DIALOG=1" );
152
149
            pthread_sigmask (SIG_UNBLOCK, &set, NULL);
153
150
        }
154
151
        libvlc_add_intf (vlc, "globalhotkeys,none", &ex);
 
152
        libvlc_exception_clear (&ex);
155
153
        libvlc_add_intf (vlc, NULL, &ex);
156
154
        libvlc_playlist_play (vlc, -1, 0, NULL, &dummy);
157
155
        libvlc_wait (vlc);