Mercurial > mplayer.hg
annotate libvo/vo_ivtv.h @ 35418:cedb0ba2b5c6
Move the code to set guiInfo's Track, Chapter and Angle start values.
Set them before checking whether there is any media opened, because
with no media opened we clear the counters.
author | ib |
---|---|
date | Thu, 29 Nov 2012 14:11:03 +0000 |
parents | ddb9036e140a |
children |
rev | line source |
---|---|
31353
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
1 /* |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
2 * video output for WinTV PVR-150/250/350 (a.k.a IVTV) cards |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
3 * TV-Out through hardware MPEG decoder |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
4 * Based on some old code from ivtv driver authors. |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
5 * See http://ivtvdriver.org/index.php/Main_Page for more details on the |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
6 * cards supported by the ivtv driver. |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
7 * |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
8 * Copyright (C) 2006 Benjamin Zores |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
9 * |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
10 * This file is part of MPlayer. |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
11 * |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
12 * MPlayer is free software; you can redistribute it and/or modify |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
13 * it under the terms of the GNU General Public License as published by |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
14 * the Free Software Foundation; either version 2 of the License, or |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
15 * (at your option) any later version. |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
16 * |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
17 * MPlayer is distributed in the hope that it will be useful, |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
20 * GNU General Public License for more details. |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
21 * |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
22 * You should have received a copy of the GNU General Public License along |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
23 * with MPlayer; if not, write to the Free Software Foundation, Inc., |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
24 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
25 */ |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
26 |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
27 #ifndef MPLAYER_VO_IVTV_H |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
28 #define MPLAYER_VO_IVTV_H |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
29 |
32075
ddb9036e140a
Move ivtv_fd extern variable declaration to vo_ivtv.h, where it belongs.
diego
parents:
31353
diff
changeset
|
30 extern int ivtv_fd; |
ddb9036e140a
Move ivtv_fd extern variable declaration to vo_ivtv.h, where it belongs.
diego
parents:
31353
diff
changeset
|
31 |
31353
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
32 int ivtv_write(const unsigned char *data, int len); |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
33 |
a465b54b0897
Add header for ivtv_write() instead of forward declaring it.
diego
parents:
diff
changeset
|
34 #endif /* MPLAYER_VO_IVTV_H */ |