Avoid modifying dvdsub_id in command.c where possible.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29895 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-11-11 11:09:36 +00:00
parent 7694e9074d
commit 05721f9672
1 changed files with 2 additions and 2 deletions

View File

@ -1498,8 +1498,8 @@ static int mp_property_sub(m_option_t * prop, int action, void *arg,
&& (mpctx->stream->type == STREAMTYPE_DVD && (mpctx->stream->type == STREAMTYPE_DVD
|| mpctx->stream->type == STREAMTYPE_DVDNAV) || mpctx->stream->type == STREAMTYPE_DVDNAV)
&& dvdsub_id < 0 && reset_spu) { && dvdsub_id < 0 && reset_spu) {
dvdsub_id = -2; d_sub->id = -2;
d_sub->id = dvdsub_id; d_sub->sh = NULL;
} }
#endif #endif
if (mpctx->sh_audio) if (mpctx->sh_audio)