[vlc-commits] demux: mp4: map AVID jp2k
Francois Cartegnie
git at videolan.org
Fri Jun 15 14:39:19 CEST 2018
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jun 15 13:16:32 2018 +0200| [09365ef935b15ca01ae3e5cb303c385adf34550c] | committer: Francois Cartegnie
demux: mp4: map AVID jp2k
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09365ef935b15ca01ae3e5cb303c385adf34550c
---
modules/demux/mp4/essetup.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 38a2cab858..4401f80d02 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -555,6 +555,12 @@ int SetupVideoES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
break;
}
+ case VLC_FOURCC( 'A', 'V', 'j', '2' ):
+ p_track->fmt.i_codec = VLC_CODEC_JPEG2000;
+ /* final decoded resolution stored in ARES w, h, nbfields to group
+ * but since avcodec can't tell... */
+ break;
+
case VLC_FOURCC('j', 'p', 'e', 'g'):
p_track->fmt.i_codec = VLC_CODEC_MJPG;
break;
More information about the vlc-commits
mailing list