diff options
author | Martin Jacobs <martin.jacobs@arcor.de> | 2010-02-07 13:46:15 +0100 |
---|---|---|
committer | Martin Jacobs <martin.jacobs@arcor.de> | 2010-02-07 13:46:15 +0100 |
commit | ef87deba4368a837c5c6316b1b9df9b3d3518929 (patch) | |
tree | 6cacf6367eeceff012036d9fb5336f57102c7317 | |
parent | fd6d1cc6ccda5ff8319ae0eb8417c5db5700938a (diff) | |
download | xine-lib-ef87deba4368a837c5c6316b1b9df9b3d3518929.tar.gz xine-lib-ef87deba4368a837c5c6316b1b9df9b3d3518929.tar.bz2 |
Fix Flash video with aac not playing audio (HTTP etc.)
-rw-r--r-- | src/demuxers/demux_flv.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/demuxers/demux_flv.c b/src/demuxers/demux_flv.c index 6b5a72a1b..c421e6053 100644 --- a/src/demuxers/demux_flv.c +++ b/src/demuxers/demux_flv.c @@ -473,6 +473,12 @@ static int read_flv_packet(demux_flv_t *this, int preview) { buf->type = buf_type; fifo->put(fifo, buf); this->got_audio_header = 1; + if (!INPUT_IS_SEEKABLE(this->input)) { + /* stop preview processing immediately, this enables libfaad to + * initialize even without INPUT_CAP_SEEKABLE of input stream. + */ + preview = 0; + } } break; |