[vlc-commits] access: jack/qtsound: set proper start date
Francois Cartegnie
git at videolan.org
Fri May 25 14:05:57 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri May 25 14:04:47 2018 +0200| [d9682c011b1366744ab6120188df9457779668d4] | committer: Francois Cartegnie
access: jack/qtsound: set proper start date
10318107ac248f2d9b1be038265f3d29a6734c97 regression
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9682c011b1366744ab6120188df9457779668d4
---
modules/access/jack.c | 2 +-
modules/access/qtsound.m | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/jack.c b/modules/access/jack.c
index 86dfc2f77c..5d4dab5fba 100644
--- a/modules/access/jack.c
+++ b/modules/access/jack.c
@@ -290,7 +290,7 @@ static int Open( vlc_object_t *p_this )
p_sys->p_es_audio = es_out_Add( p_demux->out, &fmt );
date_Init( &p_sys->pts, fmt.audio.i_rate, 1 );
- date_Set( &p_sys->pts, 0 );
+ date_Set( &p_sys->pts, VLC_TS_0 );
return VLC_SUCCESS;
}
diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m
index 2caa244056..8c0b09975b 100644
--- a/modules/access/qtsound.m
+++ b/modules/access/qtsound.m
@@ -97,7 +97,7 @@ vlc_module_end ()
p_qtsound = p_demux;
currentAudioBuffer = nil;
date_Init(&date, 44100, 1);
- date_Set(&date, 0);
+ date_Set(&date, VLC_TS_0);
currentPts = 0;
previousPts = 0;
}
More information about the vlc-commits
mailing list