d3d11_deinterlace: fix decoder config mismatching
[vlc.git] / modules / control / intromsg.h
blob7af95204b721e330e7566815e7933cb7cc014ad0
1 /*****************************************************************************
2 * intromsg.h
3 *****************************************************************************
4 * Copyright (C) 1999-2015 VLC authors and VideoLAN
5 * $Id$
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.
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.
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 *****************************************************************************/
22 static inline void intf_consoleIntroMsg(intf_thread_t *intf)
24 if (getenv( "PWD" ) == NULL) /* detect Cygwin shell or Wine */
26 AllocConsole();
27 freopen("CONOUT$", "w", stdout);
28 freopen("CONOUT$", "w", stderr);
29 freopen("CONIN$", "r", stdin);
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"));