]> git.sesse.net Git - vlc/commitdiff
Removed one vlc_object_find(INPUT, PARENT) in mkv.
authorLaurent Aimar <fenrir@videolan.org>
Tue, 25 May 2010 20:50:11 +0000 (22:50 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 25 May 2010 20:55:07 +0000 (22:55 +0200)
modules/demux/mkv/demux.cpp

index c5f47a6a49847136e6e8644b49b8a8245c176392..76049f49728e97764bc0e297e2d70df844a27d14 100644 (file)
@@ -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 );