annotate libvo/vesa_lvo.h @ 33874:e1bec41397bb

Don't let VCD track number and guiInfo.Track differ. Internally use guiInfo.Track for the track without offset now and externally speak of "titles" to the user. The titles are given minus the VCD metadata track. (The dynamic label variable $t isn't affected.) This also fixes some strange behavior when using the prev/next buttons when no VCD could be loaded. Rename MSGTR_VCDTrack MSGTR_Title to reflect the change.
author ib
date Wed, 10 Aug 2011 14:48:49 +0000
parents 0a81c931ecb5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
1 /*
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
2 * vo_vesa interface to Linux Video Overlay
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
3 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
4 * copyright (C) 2001 Nick Kurshev <nickols_k@mail.ru>
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
5 *
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
6 * This file is part of MPlayer.
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
7 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
8 * MPlayer is free software; you can redistribute it and/or modify
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
9 * it under the terms of the GNU General Public License as published by
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
10 * the Free Software Foundation; either version 2 of the License, or
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
11 * (at your option) any later version.
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
12 *
27509
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
13 * MPlayer is distributed in the hope that it will be useful,
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
16 * GNU General Public License for more details.
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
17 *
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
18 * You should have received a copy of the GNU General Public License along
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
19 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
d97a607821f1 Replace casual GPL notices by proper license headers.
diego
parents: 26162
diff changeset
20 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
21 */
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
22
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
23 #ifndef MPLAYER_VESA_LVO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
24 #define MPLAYER_VESA_LVO_H
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
25
26162
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
26 #include <stdint.h>
0585db9f5b32 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
27
13346
046918174c25 fix not matching prototype, patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>; remove ^M
faust3
parents: 2971
diff changeset
28 int vlvo_preinit(const char *drvname);
2971
56faed773768 Added preinit of lvo stuff
nick
parents: 2869
diff changeset
29 int vlvo_init(unsigned src_width,unsigned src_height,
2869
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
30 unsigned x_org,unsigned y_org,unsigned dst_width,
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
31 unsigned dst_height,unsigned format,unsigned dest_bpp);
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
32 void vlvo_term( void );
107d9e9e5bd1 New video output technique Linux Video Overlay:
nick
parents:
diff changeset
33
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
34 #endif /* MPLAYER_VESA_LVO_H */