[vlc-commits] playlist/engine: RateOffsetCallback: add debug diagnostic
Filip Roséen
git at videolan.org
Sun May 21 21:22:00 CEST 2017
vlc | branch: master | Filip Roséen <filip at atch.se> | Sun May 21 20:48:13 2017 +0200| [8268c55ac7523507cdacbbe1b175b2afdff2f6d6] | committer: Rémi Denis-Courmont
playlist/engine: RateOffsetCallback: add debug diagnostic
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8268c55ac7523507cdacbbe1b175b2afdff2f6d6
---
src/playlist/engine.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 848a86ad45..c94e6370c2 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -149,6 +149,8 @@ static int RateOffsetCallback( vlc_object_t *obj, char const *psz_cmd,
}
}
+ msg_Dbg( p_playlist, "adjusting rate from %f to %f (%s)",
+ current_rate, rate, faster ? "faster" : "slower" );
return var_SetFloat( p_playlist, "rate", rate );
}
More information about the vlc-commits
mailing list