avformat/utils: dvd still frames read thru libdvdnav ended up in internal lavf buffer
authorVoyager1 <Voyager@xbmc.org>
Sun, 2 Feb 2014 14:36:20 +0000 (15:36 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 2 Feb 2014 22:40:06 +0000 (23:40 +0100)
commit9f6f4962fbfdbaaa5ae82d1cf216356ce4a64e1c
treed7d2c7e778116dbfda1941bc8a86c2b979bea137
parentc81a9d13f427de55991aab588cdddd18f67e9db7
avformat/utils: dvd still frames read thru libdvdnav ended up in internal lavf buffer

This is the solution we've been using in XBMC for over 2 years for dvd still frames.
The problem is that the demuxer asks for probing of the codec in the mpeg stream.
This causes lavf to read the whole menu structure into internal buffers.
After which, it won't read from input stream anymore and no events triggers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/utils.c