[DVDnav-discuss] dvdnav log function callback
Ilkka Ollakka
ileoo at videolan.org
Sat Feb 25 08:52:05 CET 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/attachments/20120225/0fec8b92/attachment.asc>
More information about the DVDnav-discuss
mailing list