[vlc-commits] commit: Removed one vlc_object_find(VOUT, CHILD) in mkv. (Laurent Aimar )
git at videolan.org
git at videolan.org
Tue May 25 23:00:23 CEST 2010
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue May 25 22:59:37 2010 +0200| [a4ebcf662591d77889ae0ef6c33ab34c4380bef7] | committer: Laurent Aimar
Removed one vlc_object_find(VOUT, CHILD) in mkv.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a4ebcf662591d77889ae0ef6c33ab34c4380bef7
---
modules/demux/mkv/demux.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
index 76049f4..9c53254 100644
--- a/modules/demux/mkv/demux.cpp
+++ b/modules/demux/mkv/demux.cpp
@@ -536,8 +536,7 @@ void * demux_sys_t::EventThread( vlc_object_t *p_this )
else if( p_vout == NULL )
{
- p_vout = (vlc_object_t*) vlc_object_find( p_sys->p_input, VLC_OBJECT_VOUT,
- FIND_CHILD );
+ p_vout = (vlc_object_t*) input_GetVout(p_sys->p_input);
if( p_vout)
{
var_AddCallback( p_vout, "mouse-moved", EventMouse, p_ev );
More information about the vlc-commits
mailing list