[vlc-commits] demux: mp4: map yuv2 to VLC_CODEC_YUV2

Tristan Matthews git at videolan.org
Wed Jan 8 21:51:00 CET 2020


vlc | branch: master | Tristan Matthews <tmatth at videolan.org> | Sat Apr  2 01:37:21 2016 -0400| [1e4633ed6bc17a235875e7d439c57be58d5b9b78] | committer: Francois Cartegnie

demux: mp4: map yuv2 to VLC_CODEC_YUV2

refs #16720

Signed-off-by: Francois Cartegnie <fcvlcdev at free.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e4633ed6bc17a235875e7d439c57be58d5b9b78
---

 modules/demux/mp4/essetup.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 9d78e63fe5..9d3ef27957 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -401,7 +401,7 @@ int SetupVideoES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
             p_track->fmt.i_codec = VLC_CODEC_YV12;
             break;
         case VLC_FOURCC('y','u','v','2'):
-            p_track->fmt.i_codec = VLC_CODEC_YUYV;
+            p_track->fmt.i_codec = VLC_CODEC_YUV2;
             break;
         case VLC_FOURCC('A','B','G','R'):
             p_track->fmt.i_codec = VLC_CODEC_ARGB;



More information about the vlc-commits mailing list