[vlc-commits] commit: Removed one vlc_object_find(INPUT, PARENT) in mkv. (Laurent Aimar )

git at videolan.org git at videolan.org
Tue May 25 22:56:00 CEST 2010


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Tue May 25 22:50:11 2010 +0200| [5a66939e09d5e13542ef3812654cb6790aff122d] | committer: Laurent Aimar 

Removed one vlc_object_find(INPUT, PARENT) in mkv.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5a66939e09d5e13542ef3812654cb6790aff122d
---

 modules/demux/mkv/demux.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/demux/mkv/demux.cpp b/modules/demux/mkv/demux.cpp
index c5f47a6..76049f4 100644
--- a/modules/demux/mkv/demux.cpp
+++ b/modules/demux/mkv/demux.cpp
@@ -181,7 +181,7 @@ void demux_sys_t::StartUiThread()
         b_ui_hooked = true;
         /* FIXME hack hack hack hack FIXME */
         /* Get p_input and create variable */
-        p_input = (input_thread_t *) vlc_object_find( &demuxer, VLC_OBJECT_INPUT, FIND_PARENT );
+        p_input = demux_GetParentInput( &demuxer );
         var_Create( p_input, "x-start", VLC_VAR_INTEGER );
         var_Create( p_input, "y-start", VLC_VAR_INTEGER );
         var_Create( p_input, "x-end", VLC_VAR_INTEGER );



More information about the vlc-commits mailing list