[vlc-devel] commit: qtcapture: Make sure we build on 10.6 64bits. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Dec 10 23:02:48 CET 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Dec 10 21:17:15 2009 +0100| [9184d3f67f47b095dc35b7b4be58b8f6c50ff486] | committer: Pierre d'Herbemont 

qtcapture: Make sure we build on 10.6 64bits.

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

 modules/access/qtcapture.m |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/modules/access/qtcapture.m b/modules/access/qtcapture.m
index 19b470b..bbee5bf 100644
--- a/modules/access/qtcapture.m
+++ b/modules/access/qtcapture.m
@@ -170,9 +170,9 @@ static int qtchroma_to_fourcc( int i_qt )
     } qtchroma_to_fourcc[] =
     {
         /* Raw data types */
-        { k422YpCbCr8CodecType,    VLC_CODEC_UYVY },
-        { kComponentVideoCodecType,VLC_CODEC_YUYV },
-        { kComponentVideoUnsigned, VLC_CODEC_YUYV },
+        { '2vuy',    VLC_CODEC_UYVY },
+        { 'yuv2',VLC_CODEC_YUYV },
+        { 'yuvs', VLC_CODEC_YUYV },
         { 0, 0 }
     };
     int i;
@@ -255,12 +255,12 @@ static int Open( vlc_object_t *p_this )
     /* Get the formats */
     NSArray *format_array = [p_sys->device formatDescriptions];
     QTFormatDescription* camera_format = NULL;
-    for( int k=0; k < [format_array count]; k++ )
+    for( int k = 0; k < [format_array count]; k++ )
     {
         camera_format = [format_array objectAtIndex: k];
 
-        NSLog( [camera_format localizedFormatSummary] );
-        NSLog( [[camera_format formatDescriptionAttributes] description] );
+        NSLog( @"%@", [camera_format localizedFormatSummary] );
+        NSLog( @"%@",[[camera_format formatDescriptionAttributes] description] );
     }
     if( [format_array count] )
         camera_format = [format_array objectAtIndex: 0];




More information about the vlc-devel mailing list