mirror of https://github.com/mpv-player/mpv
Subtitle are now also available without video, so remove that
check from the subtitle property handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30122 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
97ed05be95
commit
eac140b748
|
@ -1288,9 +1288,6 @@ static int mp_property_aspect(m_option_t * prop, int action, void *arg,
|
||||||
static int mp_property_sub_pos(m_option_t * prop, int action, void *arg,
|
static int mp_property_sub_pos(m_option_t * prop, int action, void *arg,
|
||||||
MPContext * mpctx)
|
MPContext * mpctx)
|
||||||
{
|
{
|
||||||
if (!mpctx->sh_video)
|
|
||||||
return M_PROPERTY_UNAVAILABLE;
|
|
||||||
|
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case M_PROPERTY_SET:
|
case M_PROPERTY_SET:
|
||||||
if (!arg)
|
if (!arg)
|
||||||
|
|
Loading…
Reference in New Issue