changeset 30080:3cfe91f729d7

Subtitle are now also available without video, so remove that check from the subtitle property handling.
author reimar
date Sun, 27 Dec 2009 14:07:29 +0000
parents 4bd9b89b2b85
children 1b18cf7e6abe
files command.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/command.c	Sun Dec 27 14:06:47 2009 +0000
+++ b/command.c	Sun Dec 27 14:07:29 2009 +0000
@@ -1288,9 +1288,6 @@
 static int mp_property_sub_pos(m_option_t * prop, int action, void *arg,
 			       MPContext * mpctx)
 {
-    if (!mpctx->sh_video)
-	return M_PROPERTY_UNAVAILABLE;
-
     switch (action) {
     case M_PROPERTY_SET:
 	if (!arg)