Discussion:
demux: adaptive: skip get_empty for audio
(too old to reply)
Francois Cartegnie
2017-07-13 13:21:03 UTC
Permalink
Raw Message
vlc | branch: master | Francois Cartegnie <***@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 );

Loading...