[vlc-commits] demux: adaptive: don't SET_NEXT_DISPLAY_TIME

Francois Cartegnie git at videolan.org
Thu Apr 2 18:09:15 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr  2 17:41:09 2020 +0200| [d7e2425a328590487d20dbfa0b4bf98fa530c3d1] | committer: Francois Cartegnie

demux: adaptive: don't SET_NEXT_DISPLAY_TIME

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

 modules/demux/adaptive/Streams.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index 668aaec412..87171d76ae 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -574,8 +574,9 @@ bool AbstractStream::setPosition(vlc_tick_t time, bool tryonly)
         }
         else fakeEsOut()->commandsQueue()->Abort( true );
 
-        es_out_Control(p_realdemux->out, ES_OUT_SET_NEXT_DISPLAY_TIME,
-                       VLC_TICK_0 + time);
+// in some cases, media time seek != sent dts
+//        es_out_Control(p_realdemux->out, ES_OUT_SET_NEXT_DISPLAY_TIME,
+//                       VLC_TICK_0 + time);
     }
     return ret;
 }



More information about the vlc-commits mailing list