[vlc-devel] [PATCH 1/6] Add a pf_readdir callback to access_t modules

Rémi Denis-Courmont remi at remlab.net
Sat Jun 21 10:50:54 CEST 2014


Le samedi 21 juin 2014, 11:49:48 Rémi Denis-Courmont a écrit :
> You should explicitly spell that returning "no data yet" is NOT permitted
> *unlike* with pf_block and pf_read. At least, that is what I understood from
> the rest of the series. Note that while this is a non-issue for local file
> systems (directory file handles cannot block), it may become one for
> network based protocols...

P.S.: now that you pass an input item node instead of returning one, you need 
to specify what happens to it on error too. Notably, who is responsible for 
destroying it...

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list