[vlc-commits] demux: adaptive: skip get_empty for audio
Francois Cartegnie
git at videolan.org
Thu Jul 13 15:21:03 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 13 14:01:13 2017 +0200| [84587bbadcade14e94c9cba1fa0907653ae29f7b] | committer: Francois Cartegnie
demux: adaptive: skip get_empty for audio
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84587bbadcade14e94c9cba1fa0907653ae29f7b
---
modules/demux/adaptive/plumbing/FakeESOut.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptive/plumbing/FakeESOut.cpp b/modules/demux/adaptive/plumbing/FakeESOut.cpp
index 2676597e1f..47976f2fe1 100644
--- a/modules/demux/adaptive/plumbing/FakeESOut.cpp
+++ b/modules/demux/adaptive/plumbing/FakeESOut.cpp
@@ -255,7 +255,7 @@ bool FakeESOut::decodersDrained()
for( it=fakeesidlist.begin(); it!=fakeesidlist.end(); ++it )
{
FakeESOutID *esID = *it;
- if( esID->realESID() )
+ if( esID->realESID() && esID->getFmt()->i_cat != AUDIO_ES ) /* Broken GET_EMPTY */
{
bool b_empty;
es_out_Control( real_es_out, ES_OUT_GET_EMPTY, &b_empty );
More information about the vlc-commits
mailing list