[vlc-devel] [PATCH] demux: mp4: Add 'raw ' to ARGB mapping

Alex Converse alex.converse at gmail.com
Thu Dec 17 21:33:36 CET 2015


Trying to make this the one true raw codec seems like a recipe for
conflict. This fixes playback of the gaming content from derf's video
testset.
---
 modules/demux/mp4/essetup.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 3d929ba..9ef298e 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -218,6 +218,9 @@ int SetupVideoES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
         case VLC_FOURCC('y','u','v','2'):
             p_track->fmt.i_codec = VLC_FOURCC('Y','U','Y','2');
             break;
+        case VLC_FOURCC('r','a','w',' '):
+            p_track->fmt.i_codec = VLC_CODEC_ARGB;
+            break;
 
         default:
             p_track->fmt.i_codec = p_sample->i_type;
-- 
2.6.0.rc2.230.g3dd15c0



More information about the vlc-devel mailing list