Commit 10fbaadf authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* merged the QT patch from r9231 to 0.8.1

parent e55dc3f2
...@@ -174,7 +174,7 @@ int E_(OpenVideoQT) ( vlc_object_t *p_this ) ...@@ -174,7 +174,7 @@ int E_(OpenVideoQT) ( vlc_object_t *p_this )
/* Can we find the right chroma ? */ /* Can we find the right chroma ? */
if( p_vout->p_sys->b_altivec ) if( p_vout->p_sys->b_altivec )
{ {
err = FindCodec( kComponentVideoUnsigned, bestSpeedCodec, err = FindCodec( kYUVSPixelFormat, bestSpeedCodec,
nil, &p_vout->p_sys->img_dc ); nil, &p_vout->p_sys->img_dc );
} }
else else
...@@ -189,7 +189,7 @@ int E_(OpenVideoQT) ( vlc_object_t *p_this ) ...@@ -189,7 +189,7 @@ int E_(OpenVideoQT) ( vlc_object_t *p_this )
if( p_vout->p_sys->b_altivec ) if( p_vout->p_sys->b_altivec )
{ {
p_vout->output.i_chroma = VLC_FOURCC('Y','U','Y','2'); 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 else
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment