]> git.sesse.net Git - vlc/commitdiff
* merged the QT patch from r9231 to 0.8.1
authorDerk-Jan Hartman <hartman@videolan.org>
Sun, 7 Nov 2004 20:14:34 +0000 (20:14 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sun, 7 Nov 2004 20:14:34 +0000 (20:14 +0000)
modules/gui/macosx/voutqt.m

index 95e777b65782d8168fd57a57f43645d5746c70e5..c73aa3e72a47180d59b8073fd825325ab524080d 100644 (file)
@@ -174,7 +174,7 @@ int E_(OpenVideoQT) ( vlc_object_t *p_this )
     /* Can we find the right chroma ? */
     if( p_vout->p_sys->b_altivec )
     {
-        err = FindCodec( kComponentVideoUnsigned, bestSpeedCodec,
+        err = FindCodec( kYUVSPixelFormat, bestSpeedCodec,
                         nil, &p_vout->p_sys->img_dc );
     }
     else
@@ -189,7 +189,7 @@ int E_(OpenVideoQT) ( vlc_object_t *p_this )
         if( p_vout->p_sys->b_altivec )
         {
             p_vout->output.i_chroma = VLC_FOURCC('Y','U','Y','2');
-            p_vout->p_sys->i_codec = kComponentVideoUnsigned;
+            p_vout->p_sys->i_codec = kYUVSPixelFormat;
         }
         else
         {