Commit da866289 authored by Gildas Bazin's avatar Gildas Bazin

* ALL: bumped version number to 0.6.2-cvs
* modules/video_output/x11/xcommon.c: closing the video window or using the escape key doesn't exit VLC anymore but stop the input instead.
parent 537cb483
$Id: NEWS,v 1.60 2003/07/28 20:23:58 jpsaman Exp $ $Id: NEWS,v 1.61 2003/08/02 14:06:22 gbazin Exp $
Changes between 0.6.1 and 0.6.2:
---------------------------------
Changes between 0.6.0 and 0.6.1: Changes between 0.6.0 and 0.6.1:
--------------------------------- ---------------------------------
......
dnl Autoconf settings for vlc dnl Autoconf settings for vlc
dnl $Id: configure.ac,v 1.51 2003/08/01 00:40:05 fenrir Exp $ dnl $Id: configure.ac,v 1.52 2003/08/02 14:06:22 gbazin Exp $
AC_INIT(vlc,0.6.1) AC_INIT(vlc,0.6.2-cvs)
CONFIGURE_LINE="$0 $*" CONFIGURE_LINE="$0 $*"
CODENAME="Trevelyan" CODENAME="Trevelyan"
...@@ -13,7 +13,7 @@ AC_CANONICAL_SYSTEM ...@@ -13,7 +13,7 @@ AC_CANONICAL_SYSTEM
dnl XXX: we don't put any flags here, because automake 1.5 doesn't support dnl XXX: we don't put any flags here, because automake 1.5 doesn't support
dnl them. And we need the comma otherwize automake will choke on it. dnl them. And we need the comma otherwize automake will choke on it.
AM_INIT_AUTOMAKE(vlc,0.6.1) AM_INIT_AUTOMAKE(vlc,0.6.2-cvs)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
dnl dnl
......
/* Localized versions of Info.plist keys */ /* Localized versions of Info.plist keys */
CFBundleName = "VLC"; CFBundleName = "VLC";
CFBundleShortVersionString = "0.6.1"; CFBundleShortVersionString = "0.6.2-cvs";
CFBundleGetInfoString = "VLC media player 0.6.1, Copyright (c) 1996-2003 VideoLAN."; CFBundleGetInfoString = "VLC media player 0.6.2-cvs, Copyright (c) 1996-2003 VideoLAN.";
NSHumanReadableCopyright = "Copyright (c) 1996-2003 VideoLAN."; NSHumanReadableCopyright = "Copyright (c) 1996-2003 VideoLAN.";
...@@ -415,7 +415,7 @@ ...@@ -415,7 +415,7 @@
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>VLC</string> <string>VLC</string>
<key>CFBundleGetInfoString</key> <key>CFBundleGetInfoString</key>
<string>VLC media player 0.6.1, Copyright (c) 1996-2003 VideoLAN.</string> <string>VLC media player 0.6.2-cvs, Copyright (c) 1996-2003 VideoLAN.</string>
<key>CFBundleIconFile</key> <key>CFBundleIconFile</key>
<string>vlc.icns</string> <string>vlc.icns</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>
...@@ -427,7 +427,7 @@ ...@@ -427,7 +427,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>APPL</string> <string>APPL</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>0.6.1</string> <string>0.6.2-cvs</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>VLC#</string> <string>VLC#</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
...@@ -474,7 +474,7 @@ ...@@ -474,7 +474,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>0.6.1</string> <string>0.6.2-cvs</string>
<key>NSAppleScriptEnabled</key> <key>NSAppleScriptEnabled</key>
<string>YES</string> <string>YES</string>
<key>NSMainNibFile</key> <key>NSMainNibFile</key>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* xcommon.c: Functions common to the X11 and XVideo plugins * xcommon.c: Functions common to the X11 and XVideo plugins
***************************************************************************** *****************************************************************************
* Copyright (C) 1998-2001 VideoLAN * Copyright (C) 1998-2001 VideoLAN
* $Id: xcommon.c,v 1.26 2003/07/29 21:14:10 gbazin Exp $ * $Id: xcommon.c,v 1.27 2003/08/02 14:06:22 gbazin Exp $
* *
* Authors: Vincent Seguin <seguin@via.ecp.fr> * Authors: Vincent Seguin <seguin@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org> * Samuel Hocevar <sam@zoy.org>
...@@ -525,7 +525,16 @@ static int ManageVideo( vout_thread_t *p_vout ) ...@@ -525,7 +525,16 @@ static int ManageVideo( vout_thread_t *p_vout )
} }
else else
{ {
p_vout->p_vlc->b_die = 1; /* the user wants to close the window */
playlist_t * p_playlist =
(playlist_t *)vlc_object_find( p_vout,
VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
if( p_playlist != NULL )
{
playlist_Stop( p_playlist );
vlc_object_release( p_playlist );
}
} }
break; break;
case XK_Menu: case XK_Menu:
...@@ -820,7 +829,15 @@ static int ManageVideo( vout_thread_t *p_vout ) ...@@ -820,7 +829,15 @@ static int ManageVideo( vout_thread_t *p_vout )
&& ((Atom)xevent.xclient.data.l[0] && ((Atom)xevent.xclient.data.l[0]
== p_vout->p_sys->p_win->wm_delete_window ) ) == p_vout->p_sys->p_win->wm_delete_window ) )
{ {
p_vout->p_vlc->b_die = 1; /* the user wants to close the window */
playlist_t * p_playlist =
(playlist_t *)vlc_object_find( p_vout, VLC_OBJECT_PLAYLIST,
FIND_ANYWHERE );
if( p_playlist != NULL )
{
playlist_Stop( p_playlist );
vlc_object_release( p_playlist );
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment