[vlc-commits] commit: opengl: make sure we use this module instead of the caca vout as default within the legacy VLC .app ( Felix Paul Kühne )
git at videolan.org
git at videolan.org
Sat Mar 13 21:00:42 CET 2010
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Mar 13 21:00:18 2010 +0100| [8b1ab3581cd5f41a58dbb8b52173b1b960842797] | committer: Felix Paul Kühne
opengl: make sure we use this module instead of the caca vout as default within the legacy VLC.app
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8b1ab3581cd5f41a58dbb8b52173b1b960842797
---
modules/video_output/opengl.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index f448356..874eb0d 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -63,7 +63,7 @@ vlc_module_begin ()
set_subcategory( SUBCAT_VIDEO_VOUT )
set_description( N_("OpenGL video output") )
#ifdef __APPLE__
- set_capability( "video output", 200 )
+ set_capability( "video output", 400 )
#else
set_capability( "video output", 20 )
#endif
@@ -339,7 +339,7 @@ static int Manage( vout_thread_t *p_vout )
if (p_sys->p_vout->i_alignment != p_vout->i_alignment)
{
p_vout->i_changes |= VOUT_CROP_CHANGE; //to force change
- p_sys->p_vout->i_alignment = p_vout->i_alignment;
+ p_sys->p_vout->i_alignment = p_vout->i_alignment;
}
/* forward signal that autoscale toggle has changed */
@@ -377,7 +377,7 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
p_next = picture_pool_Get( p_sys->p_pool );
assert( p_next );
}
-
+
if( p_sys->p_current )
{
assert( p_sys->p_current->p[0].p_pixels == p_pic->p[0].p_pixels );
@@ -394,7 +394,7 @@ static void Render( vout_thread_t *p_vout, picture_t *p_pic )
if( p_sys->p_current != p_next ) {
if( p_sys->p_current )
picture_Release( p_sys->p_current );
-
+
/* Swap the picture texture on opengl vout side. */
p_sys->p_current = p_next;
More information about the vlc-commits
mailing list