annotate stream/cache2.h @ 29794:df1826dcdb2d

Disable audio when initializing the filter chain fails (can happen e.g. when the hwmpa decoder is used but the hardware does not support hardware MPEG audio). Otherwise this will lead to a crash later on when the decode code tries to access the audio filter chain.
author reimar
date Fri, 06 Nov 2009 15:56:30 +0000
parents 9e739bdb049c
children ce0122361a39
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
26184
7ee4ae1648e6 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
4 #include "stream.h"
7ee4ae1648e6 Add missing header #includes to fix 'make checkheaders'.
diego
parents: 26029
diff changeset
5
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 26833
diff changeset
6 void cache_uninit(stream_t *s);
26833
77003eb2d9a8 Add basic support for stream controls with cache enabled.
reimar
parents: 26184
diff changeset
7 int cache_do_control(stream_t *stream, int cmd, void *arg);
19808
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
8
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25535
diff changeset
9 #endif /* MPLAYER_CACHE2_H */