annotate parser-cfg.h @ 28992:947ef23ba798

Test if create_vdp_decoder() might succeed by calling it from config() with a small value for max_reference_frames. This does not make automatic recovery by using software decoder possible, but lets MPlayer fail more graciously on - actually existing - buggy hardware that does not support certain H264 widths when using hardware accelerated decoding (784, 864, 944, 1024, 1808, 1888 pixels on NVIDIA G98) and if the user tries to hardware-decode more samples at the same time than supported. Might break playback of H264 Intra-Only samples on hardware with very little video memory.
author cehoyos
date Sat, 21 Mar 2009 20:11:05 +0000
parents 7a36d5941fd8
children 8fd1ec0984b9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25551
diff changeset
1 #ifndef MPLAYER_PARSER_CFG_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25551
diff changeset
2 #define MPLAYER_PARSER_CFG_H
19808
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
3
26131
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26127
diff changeset
4 #include "m_config.h"
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26127
diff changeset
5
26127
e666cd9a8056 Remove pointless extern keyword from function declaration.
diego
parents: 26029
diff changeset
6 int m_config_parse_config_file(m_config_t* config, char *conffile);
19808
5385740067a1 * remove extern definitions of functions in .c files
attila
parents:
diff changeset
7
26408
7a36d5941fd8 Replace the trivial command line preparser with a more robust version
albeu
parents: 26131
diff changeset
8 int m_config_preparse_command_line(m_config_t *config, int argc, char **argv);
7a36d5941fd8 Replace the trivial command line preparser with a more robust version
albeu
parents: 26131
diff changeset
9
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25551
diff changeset
10 #endif /* MPLAYER_PARSER_CFG_H */