[vlc-commits] macosx: Improve logging for A to B (refs #20293)
David Fuhrmann
git at videolan.org
Sat Apr 21 12:35:13 CEST 2018
vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Apr 21 10:41:15 2018 +0200| [1ea50811914bce6dd2a9456b9a3cb7759a7da6b4] | committer: David Fuhrmann
macosx: Improve logging for A to B (refs #20293)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ea50811914bce6dd2a9456b9a3cb7759a7da6b4
---
modules/gui/macosx/VLCCoreInteraction.m | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/gui/macosx/VLCCoreInteraction.m b/modules/gui/macosx/VLCCoreInteraction.m
index b9aaee9b90..04abf1a821 100644
--- a/modules/gui/macosx/VLCCoreInteraction.m
+++ b/modules/gui/macosx/VLCCoreInteraction.m
@@ -494,12 +494,16 @@ static int BossCallback(vlc_object_t *p_this, const char *psz_var,
if (!timeA) {
input_thread_t * p_input = pl_CurrentInput(getIntf());
if (p_input) {
+ msg_Dbg(getIntf(), "Setting A value");
+
timeA = var_GetInteger(p_input, "time");
vlc_object_release(p_input);
}
} else if (!timeB) {
input_thread_t * p_input = pl_CurrentInput(getIntf());
if (p_input) {
+ msg_Dbg(getIntf(), "Setting B value");
+
timeB = var_GetInteger(p_input, "time");
vlc_object_release(p_input);
}
@@ -509,6 +513,7 @@ static int BossCallback(vlc_object_t *p_this, const char *psz_var,
- (void)resetAtoB
{
+ msg_Dbg(getIntf(), "Resetting A to B values");
timeA = 0;
timeB = 0;
}
More information about the vlc-commits
mailing list