Changeset 07314b1180ee2090262bbb7627864e3283c968b7

Show
Ignore:
Timestamp:
05/09/08 10:09:01 (3 months ago)
Author:
Jean-Baptiste Kempf <jb@videolan.org>
git-committer:
Jean-Baptiste Kempf <jb@videolan.org> 1220602141 -0700
git-parent:

[6923372f05174de4b31d7441a17d31a8faa31635]

git-author:
Jean-Baptiste Kempf <jb@videolan.org> 1220602029 -0700
Message:

Fix a crash that happens if you play with video filters.

Crash happens if you do:

  • Play item
  • Activate vfilter
  • Stop item
  • Deactivate vfilter... BooM.

(cherry picked from commit c876401791144309d2427214d818a34198238358)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/gui/qt4/components/extended_panels.cpp

    r420ecd5 r07314b1  
    344344        p_vout = ( vout_thread_t * )vlc_object_find( THEMIM->getInput(), 
    345345                VLC_OBJECT_VOUT, FIND_CHILD ); 
     346    /* If you have stopped the video, p_vout is still at its old value */ 
     347    else 
     348        p_vout = NULL; 
     349 
    346350    if( p_vout ) 
    347351    {