On Fri, Feb 24, 2012 at 07:36:27PM -0800, John Stebbins wrote:

> I wouldn't do it as part of init at all. How about separate registration 
> registration functions. e.g.
> dvdread_log_register(dvd_reader_t *reader, dvdread_log_callback_t 
> callback_func);
> dvdnav_log_register(dvdnav_t *nav, dvdnav_log_callback_t callback_func);

> If the registration functions are not called, default logger sends to stderr.

Ok, I think that is better idea. But this would require to remove log
messages from open, as it would print them to stderr in that point.

-- 
Ilkka Ollakka
It is now pitch dark.  If you proceed, you will likely fall into a
pit.

Attachment: pgpCsBWQNS4rz.pgp
Description: PGP signature

_______________________________________________
DVDnav-discuss mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss

Reply via email to