Commit 5bc4fd8d authored by Marvin Scholz's avatar Marvin Scholz

codec/audiotoolbox_midi: fix initial invalid timestamp

Taken from 1f855645 as this module is
based on the fluidsynth module code.
parent 80d7c4fb
...@@ -278,7 +278,7 @@ static int Open(vlc_object_t *p_this) ...@@ -278,7 +278,7 @@ static int Open(vlc_object_t *p_this)
// Initialize date (for PTS) // Initialize date (for PTS)
date_Init(&p_sys->end_date, p_dec->fmt_out.audio.i_rate, 1); date_Init(&p_sys->end_date, p_dec->fmt_out.audio.i_rate, 1);
date_Set(&p_sys->end_date, 0); date_Set(&p_sys->end_date, VLC_TS_INVALID);
p_dec->p_sys = p_sys; p_dec->p_sys = p_sys;
p_dec->pf_decode = DecodeBlock; p_dec->pf_decode = DecodeBlock;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment