[vlc-commits] mux: ts: fix invalid AU NAL insertion (fix #17088)
Francois Cartegnie
git at videolan.org
Wed Jun 29 15:52:27 CEST 2016
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jun 29 15:49:23 2016 +0200| [cafcb977359b943b659816acd796f10490cf9ecf] | committer: Francois Cartegnie
mux: ts: fix invalid AU NAL insertion (fix #17088)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cafcb977359b943b659816acd796f10490cf9ecf
---
modules/mux/mpeg/pes.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/mux/mpeg/pes.c b/modules/mux/mpeg/pes.c
index 02551bc..4156f85 100644
--- a/modules/mux/mpeg/pes.c
+++ b/modules/mux/mpeg/pes.c
@@ -376,8 +376,8 @@ void EStoPES ( block_t **pp_pes,
p_es->p_buffer[1] = 0x00;
p_es->p_buffer[2] = 0x00;
p_es->p_buffer[3] = 0x01;
- p_es->p_buffer[4] = 0x09;
- p_es->p_buffer[5] = 0xe0;
+ p_es->p_buffer[4] = 0x09; /* FIXME: primary_pic_type from SPS/PPS */
+ p_es->p_buffer[5] = 0xf0;
}
}
More information about the vlc-commits
mailing list