Commit 63eba9ef authored by Gildas Bazin's avatar Gildas Bazin

* modules/mux/mpeg/pes.c: for mpgv, don't store dts if pts == dts.

parent 08b960e8
......@@ -95,7 +95,8 @@ static inline int PESHeader( uint8_t *p_hdr, mtime_t i_pts, mtime_t i_dts,
int i_pts_dts;
if( i_pts > 0 && i_dts > 0 &&
( i_pts != i_dts || p_fmt->i_cat == VIDEO_ES ) )
( i_pts != i_dts || ( p_fmt->i_cat == VIDEO_ES &&
p_fmt->i_codec != VLC_FOURCC('m','p','g','v') ) ) )
{
i_pts_dts = 0x03;
if ( !i_header_size ) i_header_size = 0xa;
......
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