annotate libmpcodecs/mpc_info.h @ 32617:1baaacf00bbb

Improve speex codec pts handling, make audio timestamps work reasonably even with the native demuxer as long as seeking is not done.
author reimar
date Sun, 12 Dec 2010 12:36:56 +0000
parents bbb6ebec87a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30421
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
1 /*
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
3 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
8 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
13 *
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
17 */
bbb6ebec87a0 Add missing license headers to all files in the libmpcodecs directory.
diego
parents: 26029
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
19 #ifndef MPLAYER_MPC_INFO_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
20 #define MPLAYER_MPC_INFO_H
5323
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
21
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
22 typedef struct mp_codec_info_s
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
23 {
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
24 /* codec long name ("Autodesk FLI/FLC Animation decoder" */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
25 const char *name;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
26 /* short name (same as driver name in codecs.conf) ("dshow") */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
27 const char *short_name;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
28 /* interface author/maintainer */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
29 const char *maintainer;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
30 /* codec author ("Aaron Holtzman <aholtzma@ess.engr.uvic.ca>") */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
31 const char *author;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
32 /* any additional comments */
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
33 const char *comment;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
34 } mp_codec_info_t;
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
35
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
36 #define CONTROL_OK 1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
37 #define CONTROL_TRUE 1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
38 #define CONTROL_FALSE 0
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
39 #define CONTROL_UNKNOWN -1
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
40 #define CONTROL_ERROR -2
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
41 #define CONTROL_NA -3
a2bd4e930d59 common stuff moved to mpc_info.h
arpi
parents:
diff changeset
42
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25869
diff changeset
43 #endif /* MPLAYER_MPC_INFO_H */