Mercurial > mplayer.hg
comparison command.c @ 27457:16a2329e8776
handle the lavfpref demuxer in the same way as the lavf one
author | aurel |
---|---|
date | Wed, 27 Aug 2008 11:31:53 +0000 |
parents | 4876c89bafdd |
children | 22bdd7ba8892 |
comparison
equal
deleted
inserted
replaced
27456:8e31f43e161a | 27457:16a2329e8776 |
---|---|
1354 } | 1354 } |
1355 #endif | 1355 #endif |
1356 | 1356 |
1357 if ((mpctx->demuxer->type == DEMUXER_TYPE_MATROSKA | 1357 if ((mpctx->demuxer->type == DEMUXER_TYPE_MATROSKA |
1358 || mpctx->demuxer->type == DEMUXER_TYPE_LAVF | 1358 || mpctx->demuxer->type == DEMUXER_TYPE_LAVF |
1359 || mpctx->demuxer->type == DEMUXER_TYPE_LAVF_PREFERRED | |
1359 || mpctx->demuxer->type == DEMUXER_TYPE_OGG) | 1360 || mpctx->demuxer->type == DEMUXER_TYPE_OGG) |
1360 && d_sub && d_sub->sh && dvdsub_id >= 0) { | 1361 && d_sub && d_sub->sh && dvdsub_id >= 0) { |
1361 const char* lang = ((sh_sub_t*)d_sub->sh)->lang; | 1362 const char* lang = ((sh_sub_t*)d_sub->sh)->lang; |
1362 if (!lang) lang = MSGTR_Unknown; | 1363 if (!lang) lang = MSGTR_Unknown; |
1363 snprintf(*(char **) arg, 63, "(%d) %s", dvdsub_id, lang); | 1364 snprintf(*(char **) arg, 63, "(%d) %s", dvdsub_id, lang); |