Changeset 3333b45a525dc2f8f2645fa51280743cced63c56

Show
Ignore:
Timestamp:
06/22/08 23:08:29 (3 months ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1214168909 +0200
git-parent:

[37a2578ce4265f4ed495290923e3fa674c662656]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1214168909 +0200
Message:

Fix release of chroma module in vout core. I still get an "object is not
attached" on vlc_object_detach although the object was attached
previously ... what could that be due to?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/video_output/video_output.c

    r81c7b06 r3333b45  
    11481148            { 
    11491149                module_Unneed( p_vout->p_chroma, p_vout->p_chroma->p_module ); 
     1150                vlc_object_detach( p_vout->p_chroma ); 
     1151                vlc_object_release( p_vout->p_chroma ); 
    11501152                p_vout->p_chroma = NULL; 
    11511153            } 
     
    12221224    { 
    12231225        module_Unneed( p_vout->p_chroma, p_vout->p_chroma->p_module ); 
    1224         p_vout->p_chroma->p_module = NULL; 
     1226        vlc_object_detach( p_vout->p_chroma ); 
     1227        vlc_object_release( p_vout->p_chroma ); 
     1228        p_vout->p_chroma = NULL; 
    12251229    } 
    12261230