diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2008-10-28 04:12:18 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2008-10-28 04:12:18 +0200 |
commit | 479f5e742f22d46430fa265adfa9162f4e2ab865 (patch) | |
tree | 8450cfd34feb5b81d604101ad9ebfc7b24c1d88e /command.c | |
parent | 0d7f9f033cdd677df3b85aca45491955b87a1abc (diff) | |
parent | 97293969b40797442ec0f612b89a89ace8804561 (diff) | |
download | mpv-479f5e742f22d46430fa265adfa9162f4e2ab865.tar.bz2 mpv-479f5e742f22d46430fa265adfa9162f4e2ab865.tar.xz |
Merge svn changes up to r27841
Conflicts:
mplayer.c
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1958,6 +1958,8 @@ static int mp_property_teletext_page(m_option_t *prop, int action, void *arg, tvi_handle_t *tvh = mpctx->demuxer->priv; int result; int val; + if (mpctx->demuxer->type != DEMUXER_TYPE_TV || !tvh) + return M_PROPERTY_UNAVAILABLE; switch(action){ case M_PROPERTY_STEP_UP: case M_PROPERTY_STEP_DOWN: |