[vlc-commits] demux: adaptive: ignore demuxer's es fmt->id

Francois Cartegnie git at videolan.org
Fri Sep 30 19:41:58 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Sep 30 11:40:24 2016 +0200| [3f8dce7c298a4b8bb8d28a646297636863622871] | committer: Francois Cartegnie

demux: adaptive: ignore demuxer's es fmt->id

Breaks selection as they can be all the same with HLS...

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

 modules/demux/adaptive/plumbing/FakeESOut.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/adaptive/plumbing/FakeESOut.cpp b/modules/demux/adaptive/plumbing/FakeESOut.cpp
index 6b77f50..a8654e6 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -84,6 +84,7 @@ FakeESOutID * FakeESOut::createNewID( const es_format_t *p_fmt )
     es_format_Init( &fmtcopy, 0, 0 );
     es_format_Copy( &fmtcopy, p_fmt );
     fmtcopy.i_group = 0; /* Always ignore group for adaptive */
+    fmtcopy.i_id = -1;
 
     vlc_mutex_lock(&lock);
 



More information about the vlc-commits mailing list