annotate command.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 8c92e7e4ccd9
children c1a3f1bbba26
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_COMMAND_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
2 #define MPLAYER_COMMAND_H
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 23397
diff changeset
3
26273
8c92e7e4ccd9 command.h: Remove unnecessary includes
uau
parents: 26131
diff changeset
4 struct MPContext;
8c92e7e4ccd9 command.h: Remove unnecessary includes
uau
parents: 26131
diff changeset
5 struct mp_cmd;
26131
83c95bd31aab Add necessary #includes to pass 'make checkheaders'.
diego
parents: 26029
diff changeset
6
26273
8c92e7e4ccd9 command.h: Remove unnecessary includes
uau
parents: 26131
diff changeset
7 int run_command(struct MPContext *mpctx, struct mp_cmd *cmd);
23397
1d807885ce7b Make command.h usable without the MPContext typedef.
albeu
parents: 22280
diff changeset
8 char *property_expand_string(struct MPContext *mpctx, char *str);
22280
a5e5b0c45c03 Split command/property handling from mplayer.c to a new file command.c.
uau
parents:
diff changeset
9 void property_print_help(void);
25553
6ac1ece1f9fe Add multiple inclusion guards to all header files that lack them.
diego
parents: 23397
diff changeset
10
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25553
diff changeset
11 #endif /* MPLAYER_COMMAND_H */