]> git.sesse.net Git - vlc/blob - modules/control/intromsg.h
Revert "deinterlace: add basic support for YUY2 and NV12 (fixes #2206)"
[vlc] / modules / control / intromsg.h
1 /*****************************************************************************
2  * intromsg.h
3  *****************************************************************************
4  * Copyright (C) 1999-2015 VLC authors and VideoLAN
5  * $Id$
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU Lesser General Public License as published by
9  * the Free Software Foundation; either version 2.1 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this program; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
20  *****************************************************************************/
21
22 static inline void intf_consoleIntroMsg(intf_thread_t *intf)
23 {
24     if (getenv( "PWD" ) == NULL) /* detect Cygwin shell or Wine */
25     {
26         AllocConsole();
27         freopen("CONOUT$", "w", stdout);
28         freopen("CONOUT$", "w", stderr);
29         freopen("CONIN$", "r", stdin);
30     }
31
32     msg_Info(intf, "VLC media player - %s", VERSION_MESSAGE);
33     msg_Info(intf, "%s", COPYRIGHT_MESSAGE);
34     msg_Info(intf, _("\nWarning: if you cannot access the GUI "
35                      "anymore, open a command-line window, go to the "
36                      "directory where you installed VLC and run "
37                      "\"vlc -I qt\"\n"));
38 }