+ {
+ p_sys->p_input = vlc_object_find( p_stream, VLC_OBJECT_INPUT,
+ FIND_PARENT );
+ /* This module is a children of the input object
+ * We don't want to keep a reference on it, because we will be alive
+ * as long as the input is alive.
+ *
+ * Since vlc_object_find() increments the reference count,
+ * we release the input just after finding it.
+ * */
+ assert( p_sys->p_input );
+ vlc_object_release( p_sys->p_input );
+ }