summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-07 16:40:42 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-11-07 16:40:42 +0000
commit2a5611473cb3696597240be15b0e1e662c1c79b8 (patch)
treeb975e1a5a810d109e78a419af4818455de9f0192 /command.c
parent241164f72c01b4e15e7afff36064a9217ebad77f (diff)
downloadmpv-2a5611473cb3696597240be15b0e1e662c1c79b8.tar.bz2
mpv-2a5611473cb3696597240be15b0e1e662c1c79b8.tar.xz
Remove CONFIG_TV_TELETEXT.
DVB teletext support is nearly finished, it will be possible to read teletext from file, it will not be depending on reception any more. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29851 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'command.c')
-rw-r--r--command.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/command.c b/command.c
index 0998ea8136..508b6f546f 100644
--- a/command.c
+++ b/command.c
@@ -1878,7 +1878,6 @@ static int mp_property_tv_color(m_option_t * prop, int action, void *arg,
#endif
-#ifdef CONFIG_TV_TELETEXT
static int mp_property_teletext_common(m_option_t * prop, int action, void *arg,
MPContext * mpctx)
{
@@ -1959,9 +1958,6 @@ static int mp_property_teletext_page(m_option_t * prop, int action, void *arg,
return result;
}
-
-#endif /* CONFIG_TV_TELETEXT */
-
///@}
/// All properties available in MPlayer.
@@ -2114,8 +2110,6 @@ static const m_option_t mp_properties[] = {
{ "tv_hue", mp_property_tv_color, CONF_TYPE_INT,
M_OPT_RANGE, -100, 100, (void *) TV_COLOR_HUE },
#endif
-
-#ifdef CONFIG_TV_TELETEXT
{ "teletext_page", mp_property_teletext_page, CONF_TYPE_INT,
M_OPT_RANGE, 100, 899, (void*)TV_VBI_CONTROL_GET_PAGE },
{ "teletext_subpage", mp_property_teletext_common, CONF_TYPE_INT,
@@ -2126,8 +2120,6 @@ static const m_option_t mp_properties[] = {
M_OPT_RANGE, 0, 3, (void*)TV_VBI_CONTROL_GET_FORMAT },
{ "teletext_half_page", mp_property_teletext_common, CONF_TYPE_INT,
M_OPT_RANGE, 0, 2, (void*)TV_VBI_CONTROL_GET_HALF_PAGE },
-#endif
-
{ NULL, NULL, NULL, 0, 0, 0, NULL }
};
@@ -2870,7 +2862,6 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
tv_step_chanlist((tvi_handle_t *) (mpctx->demuxer->priv));
break;
#endif /* CONFIG_TV */
-#ifdef CONFIG_TV_TELETEXT
case MP_CMD_TV_TELETEXT_ADD_DEC:
{
if (mpctx->demuxer->teletext)
@@ -2885,7 +2876,6 @@ int run_command(MPContext * mpctx, mp_cmd_t * cmd)
&(cmd->args[0].v.i));
break;
}
-#endif /* CONFIG_TV_TELETEXT */
case MP_CMD_SUB_LOAD:
if (sh_video) {