]> git.sesse.net Git - vlc/commit
bluray: always handle all libbluray events
authorPetri Hintukainen <phintuka@users.sourceforge.net>
Mon, 10 Feb 2014 11:27:00 +0000 (13:27 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 10 Feb 2014 14:48:14 +0000 (15:48 +0100)
commita799b4d6e6f67647507df2236e020c4e93d3ec7e
treed975cb2751422f2e62c47155aad7df69f39f95e7
parent9e10f3fbf0459e0de6818c5ff31eb998c348511d
bluray: always handle all libbluray events

Events can be returned even if read returns <= 0.
Single bd_read_ext() call can trigger multiple events.
All events should be handled before next bd_read_ext() call,
events are tied to current read position.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/access/bluray.c