Commit fcf5a9e5 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

MKV: packetized codec can use VLC_TS_INVALID as i_pts for extra Block frames

Fixes WMA 9.1 Lossless playback through avcodec
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b2af2ff7
......@@ -723,7 +723,7 @@ msg_Dbg( p_demux, "block (track=%d) i_dts: %"PRId64" / i_pts: %"PRId64, tk->i_nu
/* use time stamp only for first block */
i_pts = ( tk->i_default_duration )?
i_pts + ( mtime_t )tk->i_default_duration:
VLC_TS_INVALID;
( tk->fmt.b_packetized ) ? VLC_TS_INVALID : i_pts + 1;
}
}
......
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