annotate stream/cache2.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 7ee4ae1648e6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
1 #ifndef MPLAYER_CACHE2_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
2 #define MPLAYER_CACHE2_H
19808
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
3
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
4 extern void cache_uninit(stream_t *s);
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
5
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
6 #endif /* MPLAYER_CACHE2_H */