[vlc-commits] mux: mp4: fix mpeg1 object id
Francois Cartegnie
git at videolan.org
Fri Feb 8 21:20:25 CET 2019
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Feb 8 18:13:21 2019 +0100| [cee51bacbc3903d75fd778f2828278d24ec75b37] | committer: Francois Cartegnie
mux: mp4: fix mpeg1 object id
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cee51bacbc3903d75fd778f2828278d24ec75b37
---
modules/mux/mp4/libmp4mux.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/mux/mp4/libmp4mux.c b/modules/mux/mp4/libmp4mux.c
index 1c13ea1b01..352b70e5be 100644
--- a/modules/mux/mp4/libmp4mux.c
+++ b/modules/mux/mp4/libmp4mux.c
@@ -571,7 +571,7 @@ static bo_t *GetESDS(mp4mux_trackinfo_t *p_track)
case VLC_CODEC_MPGV:
if(p_track->fmt.i_original_fourcc == VLC_CODEC_MP1V)
{
- i_object_profile_indication = 0x6b;
+ i_object_profile_indication = 0x6a; /* Visual ISO/IEC 11172-2 */
break;
}
/* fallthrough */
@@ -580,8 +580,7 @@ static bo_t *GetESDS(mp4mux_trackinfo_t *p_track)
i_object_profile_indication = 0x65; /* Visual 13818-2 422 Profile */
break;
case VLC_CODEC_MP1V:
- /* MPEG-I=0x6b, MPEG-II = 0x60 -> 0x65 */
- i_object_profile_indication = 0x6b;
+ i_object_profile_indication = 0x6a; /* Visual ISO/IEC 11172-2 */
break;
case VLC_CODEC_MP4A:
/* FIXME for mpeg2-aac == 0x66->0x68 */
More information about the vlc-commits
mailing list