[FFmpeg-devel] [PATCH 3/5] ff_network_wait_fd_timeout(): check for interrupt before operation
andrey.krieger.utkin at gmail.com
Fri Jul 12 16:37:26 CEST 2013
2013/7/12 Lukasz M <lukasz.m.luki at gmail.com>:
> I don't mind merging it, but there is a "collision" of two
> functionalities/use cases that are tried to be solved by one callback
> and it seems to be impossible.
> These cases are:
> - interrupt I/O operation entirely because it is not needed anymore.
> - interrupt I/O operation when descriptor is not ready
First i thought that you are addressing the use case "read, interrupt,
seek, read". (As far as i know and remember, there's no guarantee this
use case would work, but somebody uses it happily.)
But re-reading you i see you mean something else. Could you please
describe one or more cases where such feature would be needed? It
would be great if you provide some code and/or setup instructions, so
we could check the problem and the effect of these changes.
More information about the ffmpeg-devel