Commit b418c25a authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Use possibly better optimized QT YUY2 decoder??? (It seems faster)

parent efec6179
...@@ -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