Changeset 2d55c0f1a446fb43908664f79e273ca7e200e898

Show
Ignore:
Timestamp:
12/04/05 16:11:04 (4 years ago)
Author:
Gildas Bazin <gbazin@videolan.org>
git-committer:
Gildas Bazin <gbazin@videolan.org> 1113315064 +0000
git-parent:

[be7f00e1fb86793eb0b1cce86c25d7aba9af32ca]

git-author:
Gildas Bazin <gbazin@videolan.org> 1113315064 +0000
Message:

* modules/video_output/opengl.c: fixed snapshots in opengl mode.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/video_output/opengl.c

    r4f97b25 r2d55c0f  
    662662    vout_sys_t *p_sys = p_vout->p_sys; 
    663663 
    664     if( p_sys->p_vout->pf_control
    665         return p_sys->p_vout->pf_control( p_sys->p_vout, i_query, args ); 
    666     else 
     664    switch( i_query
     665    { 
     666    case VOUT_SNAPSHOT: 
    667667        return vout_vaControlDefault( p_vout, i_query, args ); 
     668 
     669    default: 
     670        if( p_sys->p_vout->pf_control ) 
     671            return p_sys->p_vout->pf_control( p_sys->p_vout, i_query, args ); 
     672        else 
     673            return vout_vaControlDefault( p_vout, i_query, args ); 
     674    } 
    668675} 
    669676