]> git.sesse.net Git - vlc/blobdiff - modules/access/qtcapture.m
Used VLC_CODEC_* and vlc_fourcc_GetCodec when suitable.
[vlc] / modules / access / qtcapture.m
index 3421a6d2ca365453acdccae2f481b1cc7e12dd98..cc8f05687c366de54c8bf7aa36eb0d7c48048504 100644 (file)
@@ -36,6 +36,7 @@
 #include <vlc_vout.h>
 #include <vlc_demux.h>
 #include <vlc_interface.h>
+#include <vlc_dialog.h>
 
 #import <QTKit/QTKit.h>
 #import <CoreAudio/CoreAudio.h>
@@ -170,8 +171,8 @@ static int qtchroma_to_fourcc( int i_qt )
     } qtchroma_to_fourcc[] =
     {
         /* Raw data types */
-        { k422YpCbCr8CodecType,    VLC_FOURCC('U','Y','V','Y') },
-        { kComponentVideoCodecType,VLC_FOURCC('Y','U','Y','2') },
+        { k422YpCbCr8CodecType,    VLC_CODEC_UYVY },
+        { kComponentVideoCodecType,VLC_CODEC_YUYV },
         { 0, 0 }
     };
     int i;