summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authoraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-27 11:31:53 +0000
committeraurel <aurel@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-27 11:31:53 +0000
commita5f69284d90323fc865e18033b6a22c11707fe20 (patch)
tree52b9ce98a17af66fa09a3d0bc8a55db1ed77fde5 /command.c
parentb5ddaf20bae3d5d86951256502702910e44de207 (diff)
downloadmpv-a5f69284d90323fc865e18033b6a22c11707fe20.tar.bz2
mpv-a5f69284d90323fc865e18033b6a22c11707fe20.tar.xz
handle the lavfpref demuxer in the same way as the lavf one
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27489 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r--command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/command.c b/command.c
index 116317432b..e5b17abafe 100644
--- a/command.c
+++ b/command.c
@@ -1356,6 +1356,7 @@ static int mp_property_sub(m_option_t * prop, int action, void *arg,
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;