resindvd: Avoid a deadlock. Improve chapter seek.
authorJan Schmidt <thaytan@noraisin.net>
Mon, 26 Oct 2009 20:55:15 +0000 (20:55 +0000)
committerJan Schmidt <thaytan@noraisin.net>
Tue, 27 Oct 2009 12:23:26 +0000 (12:23 +0000)
commit1b03e576e1a44ef2d77764bb21b497c9295ec123
tree76c6a407088ab46c30c0fe4ebebfc2d865604329
parent0c7d5bb1d8e6e3f23e7c2ba8856a7d4723593538
resindvd: Avoid a deadlock. Improve chapter seek.

Avoid a potential deadlock that happens when a call to
gst_clock_id_wait_async() immediately calls the callback.
Improve previous chapter seeking slightly by avoiding 'segment
start != -1' assertions when there is no previous chapter and
the seek therefore fails.
ext/resindvd/resindvdsrc.c