annotate libvo/vo_fbdev.h @ 33667:adb10970ec83

Fix bug introduced as a side effect in r33750. It was no longer possible to start gmplayer from the command line with a file argument. Every time gmplayer is called with a file argument this file goes into the GUI specific playlist. As a side effect, GUI's file(name) to play and MPlayer's filename point to the same address. guiInit() pointlessly tries to set GUI's filename (free and strdup) from MPlayer's filename instead of getting it from its playlist. The previous memset set GUI's filename to NULL rendering the free() effectless while now such an operation on the same address to strdup() afterwards isn't a good idea. Remove the pointless code.
author ib
date Tue, 28 Jun 2011 15:00:05 +0000
parents 82fce4fb5049
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31379
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
1 /*
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
2 * This file is part of MPlayer.
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
3 *
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
7 * (at your option) any later version.
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
8 *
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
12 * GNU General Public License for more details.
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
13 *
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License along
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
17 */
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
18
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
19 #ifndef MPLAYER_VO_FBDEV_H
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
20 #define MPLAYER_VO_FBDEV_H
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
21
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
22 extern char *fb_mode_cfgfile;
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
23 extern char *fb_mode_name;
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
24
82fce4fb5049 Add header file for externally used variables from vo_fbdev.c.
diego
parents:
diff changeset
25 #endif /* MPLAYER_VO_FBDEV_H */