view command.h @ 29056:93e72ef080ab

Update demuxer->sub->id and demuxer->sub->sh if a new subtitle stream is created that matches the user-requested one. Fixes -slang and -sid with DVDs (anything that uses demux_mpg actually).
author reimar
date Sun, 29 Mar 2009 11:21:18 +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 */