Mercurial > mplayer.hg
annotate libvo/vo_fbdev.h @ 33517:850a3272e10d
Change code to allow STREAM_CTRL_GET_CURRENT_TIME with cache enabled.
Due to that time being from what is currently read into the cache it
is unfortunately somewhat inaccurate and unsmooth, however for streams
that do have stream timestamps it is till a lot better than going by
the demuxer alone.
In particular it fixes bug #1081, when starting a DVD with -chapter
following seeks would be relative to the start of the DVD instead
of the current position.
author | reimar |
---|---|
date | Sun, 12 Jun 2011 11:26:22 +0000 |
parents | 82fce4fb5049 |
children |
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 */ |