Mercurial > mplayer.hg
view command.h @ 28368:c616bf5d520b
command.c: Fix some commands crashing during audio-only playback
The SWITCH_RATIO and VF_CHANGE_RECTANGLE cases crashed if the user
gave those commands when there was no video stream. Make them no-op
instead.
Patch by ShadowJK
author | uau |
---|---|
date | Sat, 31 Jan 2009 01:09:49 +0000 |
parents | 8c92e7e4ccd9 |
children | c1a3f1bbba26 |
line wrap: on
line source
#ifndef MPLAYER_COMMAND_H #define MPLAYER_COMMAND_H struct MPContext; struct mp_cmd; int run_command(struct MPContext *mpctx, struct mp_cmd *cmd); char *property_expand_string(struct MPContext *mpctx, char *str); void property_print_help(void); #endif /* MPLAYER_COMMAND_H */