Mercurial > mplayer.hg
annotate libvo/matrixview.h @ 35168:627bdd8915ca
Fix building GUI without DVD support.
The (global) configuration variables dvd_chapter and dvd_angle
must be set prior to opening the stream and as there isn't yet
a stream available, no stream control command can be used.
After the stream has been opened, the angle can be retrieved by
a stream control command and variable access can be avoided.
Additionally, don't set guiInfo.Chapter - and wrongly by one -,
because this will be done in mplayer.c, after the chapter has been
seeked (later).
Reported by Valentine Barshak, gvaxon gmail com.
author | ib |
---|---|
date | Sun, 21 Oct 2012 14:40:49 +0000 |
parents | c81c29a219fa |
children | f73711af11ae |
rev | line source |
---|---|
30161
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
1 /* |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
2 * This file is part of MPlayer. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
3 * |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
4 * MPlayer is free software; you can redistribute it and/or modify |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
5 * it under the terms of the GNU General Public License as published by |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
6 * the Free Software Foundation; either version 2 of the License, or |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
7 * (at your option) any later version. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
8 * |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
9 * MPlayer is distributed in the hope that it will be useful, |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
12 * GNU General Public License for more details. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
13 * |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
14 * You should have received a copy of the GNU General Public License along |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
17 */ |
c81c29a219fa
Add missing license headers for vo_matrixview code.
diego
parents:
30153
diff
changeset
|
18 |
30140 | 19 #ifndef MPLAYER_MATRIXVIEW_H |
20 #define MPLAYER_MATRIXVIEW_H | |
21 | |
22 #include <stdint.h> | |
30153 | 23 |
30140 | 24 void matrixview_init (int w, int h); |
25 void matrixview_reshape (int w, int h); | |
30153 | 26 void matrixview_draw (int w, int h, double currentTime, float frameTime, |
27 uint8_t *data); | |
30140 | 28 void matrixview_matrix_resize(int w, int h); |
29 void matrixview_contrast_set(float contrast); | |
30 void matrixview_brightness_set(float brightness); | |
31 | |
32 #endif /* MPLAYER_MATRIXVIEW_H */ |