Mercurial > mplayer.hg
annotate libass/mputils.h @ 28294:94a62675c105
100l, mixed up ao_data.samplerate and ao_data.bps when calculating sleep time.
Fixes stuttering audio when playing audio-only files.
author | reimar |
---|---|
date | Fri, 16 Jan 2009 09:41:26 +0000 |
parents | 588ce97b44f2 |
children | 69d3be4d52a2 |
rev | line source |
---|---|
26725 | 1 /* |
2 * Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com> | |
3 * | |
26738
588ce97b44f2
Speak of libass instead of MPlayer in the libass license headers.
diego
parents:
26725
diff
changeset
|
4 * This file is part of libass. |
26725 | 5 * |
26738
588ce97b44f2
Speak of libass instead of MPlayer in the libass license headers.
diego
parents:
26725
diff
changeset
|
6 * libass is free software; you can redistribute it and/or modify |
26725 | 7 * it under the terms of the GNU General Public License as published by |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
26738
588ce97b44f2
Speak of libass instead of MPlayer in the libass license headers.
diego
parents:
26725
diff
changeset
|
11 * libass is distributed in the hope that it will be useful, |
26725 | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License along | |
26738
588ce97b44f2
Speak of libass instead of MPlayer in the libass license headers.
diego
parents:
26725
diff
changeset
|
17 * with libass; if not, write to the Free Software Foundation, Inc., |
26725 | 18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
19 */ | |
20 | |
25897
aaebaf255b23
Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents:
25869
diff
changeset
|
21 #ifndef LIBASS_MPUTILS_H |
aaebaf255b23
Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents:
25869
diff
changeset
|
22 #define LIBASS_MPUTILS_H |
21026
d138463e820b
Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff
changeset
|
23 |
d138463e820b
Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff
changeset
|
24 #include "mp_msg.h" |
21066 | 25 #include "help_mp.h" |
21026
d138463e820b
Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff
changeset
|
26 #include "libvo/font_load.h" // for blur() |
d138463e820b
Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff
changeset
|
27 #include "subreader.h" // for guess_buffer_cp |
d138463e820b
Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff
changeset
|
28 #include "libvo/sub.h" // for utf8_get_char |
d138463e820b
Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff
changeset
|
29 #include "libavutil/common.h" |
d138463e820b
Collect all includes of mplayer headers in libass in a single file (mputils.h).
eugeni
parents:
diff
changeset
|
30 |
25897
aaebaf255b23
Consistently give all libass multiple inclusion guards a LIBASS_ prefix.
diego
parents:
25869
diff
changeset
|
31 #endif /* LIBASS_MPUTILS_H */ |