* Module descriptor
*****************************************************************************/
#define SPEED_TEXT N_( "OpenGL cube rotation speed" )
-#define SPEED_LONGTEXT N_( "If the OpenGL cube effect is enabled, this " \
- "controls its rotation speed." )
+#define SPEED_LONGTEXT N_( "Rotation speed of the OpenGL cube effect, if " \
+ "enabled." )
-#define EFFECT_TEXT N_("Select effect")
+#define EFFECT_TEXT N_("Effect")
#define EFFECT_LONGTEXT N_( \
- "Allows you to select different visual effects.")
+ "Several visual OpenGL effects are available." )
static char *ppsz_effects[] = {
"none", "cube", "transparent-cube" };
p_sys->p_vout->pf_init( p_sys->p_vout );
/* TODO: We use YCbCr on Mac which is Y422, but on OSX it seems to == YUY2. Verify */
-#if defined( __ppc__ ) || defined( __ppc64__ ) || (VLCGL_FORMAT == YCBCR_MESA)
+#if ( defined( WORDS_BIGENDIAN ) && VLCGL_FORMAT == GL_YCBCR_422_APPLE ) || (VLCGL_FORMAT == YCBCR_MESA)
p_vout->output.i_chroma = VLC_FOURCC('Y','U','Y','2');
i_pixel_pitch = 2;
#elif (VLCGL_FORMAT == GL_YCBCR_422_APPLE)
- p_vout->output.i_chroma = VLC_FOURCC('Y','4','2','2');
+ p_vout->output.i_chroma = VLC_FOURCC('U','Y','V','Y');
i_pixel_pitch = 2;
#elif VLCGL_FORMAT == GL_RGB
malloc( p_sys->i_tex_width * p_sys->i_tex_height * i_pixel_pitch );
if( !p_sys->pp_buffer[0] )
{
- msg_Err( p_vout, "Out of memory" );
+ msg_Err( p_vout, "out of memory" );
return -1;
}
p_sys->pp_buffer[1] =
malloc( p_sys->i_tex_width * p_sys->i_tex_height * i_pixel_pitch );
if( !p_sys->pp_buffer[1] )
{
- msg_Err( p_vout, "Out of memory" );
+ msg_Err( p_vout, "out of memory" );
return -1;
}