[vlc-commits] input: tautology

Rémi Denis-Courmont git at videolan.org
Sat Oct 24 20:33:37 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Oct 24 20:10:22 2015 +0300| [419ceeea8a1b89925b76d225e52b6acae3aaf233] | committer: Rémi Denis-Courmont

input: tautology

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

 src/input/input.c |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/input/input.c b/src/input/input.c
index e6fd697..1a4d133 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -2052,12 +2052,9 @@ static int UpdateTitleSeekpointFromDemux( input_thread_t *p_input )
         p_demux->info.i_update &= ~INPUT_UPDATE_SEEKPOINT;
     }
 
-    /* Hmmm only works with master input */
-    if( p_input->p->input.p_demux == p_demux )
-        return UpdateTitleSeekpoint( p_input,
-                                     p_demux->info.i_title,
-                                     p_demux->info.i_seekpoint );
-    return 1;
+    return UpdateTitleSeekpoint( p_input,
+                                 p_demux->info.i_title,
+                                 p_demux->info.i_seekpoint );
 }
 
 static void UpdateGenericFromDemux( input_thread_t *p_input )



More information about the vlc-commits mailing list