diff 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
line wrap: on
line diff
--- a/command.c	Wed Aug 27 11:07:15 2008 +0000
+++ b/command.c	Wed Aug 27 11:31:53 2008 +0000
@@ -1356,6 +1356,7 @@
 
 	if ((mpctx->demuxer->type == DEMUXER_TYPE_MATROSKA
              || mpctx->demuxer->type == DEMUXER_TYPE_LAVF
+             || mpctx->demuxer->type == DEMUXER_TYPE_LAVF_PREFERRED
              || mpctx->demuxer->type == DEMUXER_TYPE_OGG)
              && d_sub && d_sub->sh && dvdsub_id >= 0) {
             const char* lang = ((sh_sub_t*)d_sub->sh)->lang;