[vlc-devel] commit: vout_intf: do not vlc_object_release() the cache object since it no more obtained through vlc_object_find ( Olivier Aubert )
git version control
git at videolan.org
Mon Oct 27 12:48:31 CET 2008
vlc | branch: master | Olivier Aubert <olivier.aubert at liris.cnrs.fr> | Mon Oct 27 12:44:19 2008 +0100| [8ff1f7b5c43642ac6d9f35f9b67485aed260b4b2] | committer: Olivier Aubert
vout_intf: do not vlc_object_release() the cache object since it no more obtained through vlc_object_find
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8ff1f7b5c43642ac6d9f35f9b67485aed260b4b2
---
src/video_output/vout_intf.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/src/video_output/vout_intf.c b/src/video_output/vout_intf.c
index 5bc5316..fd6396c 100644
--- a/src/video_output/vout_intf.c
+++ b/src/video_output/vout_intf.c
@@ -650,7 +650,6 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
image_HandlerDelete( p_image );
vlc_object_signal_unlocked( p_dest );
vlc_object_unlock( p_dest );
- vlc_object_release( p_dest );
return VLC_EGENERIC;
}
@@ -663,7 +662,6 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
image_HandlerDelete( p_image );
vlc_object_signal_unlocked( p_dest );
vlc_object_unlock( p_dest );
- vlc_object_release( p_dest );
return VLC_ENOMEM;
}
@@ -681,7 +679,6 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
image_HandlerDelete( p_image );
vlc_object_signal_unlocked( p_dest );
vlc_object_unlock( p_dest );
- vlc_object_release( p_dest );
return VLC_ENOMEM;
}
memcpy( p_snapshot->p_data, p_block->p_buffer, p_block->i_buffer );
@@ -693,7 +690,6 @@ int vout_Snapshot( vout_thread_t *p_vout, picture_t *p_pic )
/* Unlock the object */
vlc_object_signal_unlocked( p_dest );
vlc_object_unlock( p_dest );
- vlc_object_release( p_dest );
image_HandlerDelete( p_image );
return VLC_SUCCESS;
More information about the vlc-devel
mailing list