[vlc-commits] demux: adaptive: no more need for probing fallback
Francois Cartegnie
git at videolan.org
Wed Apr 7 12:36:05 UTC 2021
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar 18 00:48:16 2021 +0100| [b293c8eb3edd55e9e2ca0047e16c94c60a417a6c] | committer: Francois Cartegnie
demux: adaptive: no more need for probing fallback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b293c8eb3edd55e9e2ca0047e16c94c60a417a6c
---
modules/demux/adaptive/Streams.cpp | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/modules/demux/adaptive/Streams.cpp b/modules/demux/adaptive/Streams.cpp
index b7a3850405..0cc5afadc5 100644
--- a/modules/demux/adaptive/Streams.cpp
+++ b/modules/demux/adaptive/Streams.cpp
@@ -404,16 +404,6 @@ AbstractStream::BufferingStatus AbstractStream::doBufferize(vlc_tick_t nz_deadli
{
if(!startDemux())
{
- /* If demux fails because of probing failure / wrong format*/
- if(discontinuity)
- {
- msg_Dbg( p_realdemux, "Draining on format change" );
- prepareRestart();
- discontinuity = false;
- fakeEsOut()->commandsQueue()->setDraining();
- vlc_mutex_unlock(&lock);
- return BufferingStatus::Ongoing;
- }
valid = false; /* Prevent further retries */
fakeEsOut()->commandsQueue()->setEOF(true);
vlc_mutex_unlock(&lock);
More information about the vlc-commits
mailing list