annotate osdep/glob.h @ 26089:e2f35d90ad39

Set audio->sh correctly when switching audio tracks. The same for video tracks. Demuxers almost never update audio->sh or sub->sh when swithing tracks. It is especially bad when switching to no sound, and results in "too many audio packets" error.
author eugeni
date Fri, 29 Feb 2008 17:25:48 +0000
parents 4129c8cfa742
children 32ef0c7cb949
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
1 #ifndef MPLAYER_GLOB_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
2 #define MPLAYER_GLOB_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21862
diff changeset
3
16985
08cac43f1e38 Unify include paths, -I.. is in CFLAGS.
diego
parents: 9983
diff changeset
4 #include "config.h"
9983
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
5
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
6 typedef struct {
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
7 size_t gl_pathc;
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
8 char **gl_pathv;
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
9 size_t gl_offs;
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
10 } glob_t;
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
11
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
12 void globfree(glob_t *pglob);
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
13
14c92818ab75 alternative timer and glob emulation code for mingw32 port
faust3
parents:
diff changeset
14 int glob(const char *pattern, int flags, int (*errfunc)(const char *epath, int eerrno), glob_t *pglob);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 21862
diff changeset
15
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
16 #endif /* MPLAYER_GLOB_H */