diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c index 8a27e0fab2..5df273d375 100644 --- a/libavfilter/vf_v360.c +++ b/libavfilter/vf_v360.c @@ -4961,7 +4961,8 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar V360Context *s = ctx->priv; int ret; - s->yaw = s->pitch = s->roll = 0.f; + if (s->reset_rot <= 0) + s->yaw = s->pitch = s->roll = 0.f; if (s->reset_rot < 0) s->reset_rot = 0;