diff options
-rw-r--r-- | player/command.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c index 0ff38264e0..f86926c930 100644 --- a/player/command.c +++ b/player/command.c @@ -2776,6 +2776,13 @@ static int mp_property_aspect(void *ctx, struct m_property *prop, } return M_PROPERTY_OK; } + case M_PROPERTY_PRINT: { + if (mpctx->opts->movie_aspect <= 0) { + *(char **)arg = talloc_strdup(NULL, "(original)"); + return M_PROPERTY_OK; + } + break; + } case M_PROPERTY_GET: { float aspect = mpctx->opts->movie_aspect; if (mpctx->d_video && mpctx->vo_chain && aspect <= 0) { |