1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-17 12:54:40 +00:00

core: remove dead --vsync leftovers

This commit is contained in:
wm4 2013-04-12 14:36:26 +02:00
parent 90e57fc266
commit a5916f5d1d
3 changed files with 1 additions and 12 deletions

View File

@ -305,7 +305,6 @@ contrast x see ``--contrast``
saturation x see ``--saturation``
hue x see ``--hue``
panscan x see ``--panscan``
vsync x see ``--vsync``
video-format video format (string)
video-codec video codec selected for decoding
video-bitrate video bitrate

View File

@ -1089,13 +1089,6 @@ static int mp_property_gamma(m_option_t *prop, int action, void *arg,
return M_PROPERTY_UNAVAILABLE;
}
/// VSync (RW)
static int mp_property_vsync(m_option_t *prop, int action, void *arg,
MPContext *mpctx)
{
return mp_property_generic_option(prop, action, arg, mpctx);
}
/// Video codec tag (RO)
static int mp_property_video_format(m_option_t *prop, int action,
void *arg, MPContext *mpctx)
@ -1420,7 +1413,6 @@ static const m_option_t mp_properties[] = {
M_OPTION_PROPERTY_CUSTOM_("hue", mp_property_gamma,
.offset = offsetof(struct MPOpts, gamma_hue)),
M_OPTION_PROPERTY_CUSTOM("panscan", mp_property_panscan),
M_OPTION_PROPERTY_CUSTOM_("vsync", mp_property_vsync),
{ "video-format", mp_property_video_format, CONF_TYPE_STRING,
0, 0, 0, NULL },
{ "video-codec", mp_property_video_codec, CONF_TYPE_STRING,
@ -1535,7 +1527,6 @@ static struct property_osd_display {
{ "contrast", _("Contrast"), .osd_progbar = OSD_CONTRAST },
{ "saturation", _("Saturation"), .osd_progbar = OSD_SATURATION },
{ "hue", _("Hue"), .osd_progbar = OSD_HUE },
{ "vsync", _("VSync") },
{ "angle", _("Angle") },
// subs
{ "sub", _("Subtitles") },

View File

@ -175,8 +175,7 @@ static const char av_desync_help_text[] = _(
"- Slow video output.\n"
" Try a different -vo driver (-vo help for a list) or try -framedrop!\n"
"- Playing a video file with --vo=opengl with higher FPS than the monitor.\n"
" This is due to vsync limiting the framerate. Try --no-vsync, or a\n"
" different VO.\n"
" This is due to vsync limiting the framerate.\n"
"- Playing from a slow network source.\n"
" Download the file instead.\n"
"- Try to find out whether audio or video is causing this by experimenting\n"