[vlc-devel] [PATCH 3/8] playlist/engine: RateOffsetCallback: add debug diagnostic

Filip Roséen filip at atch.se
Sun May 21 20:48:13 CEST 2017


---
 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 );
 }
-- 
2.13.0


More information about the vlc-devel mailing list