[vlc-devel] [PATCH] Avoid invalid index constructor.

Vicente Jiménez googuy at gmail.com
Thu Mar 12 13:13:21 CET 2009

This is a very ugly hack to avoid the http interface debug message
"invalid index constructor" for inputs, instances, options and
commands produced when trying to loop over a non existent set.

It doesn't add any functionality or correct any important error.

A better patch could be to set inputs, instances, options and commands
in the VLM instance as empty sets. I haven't figure how to do it, so
any clue about where to look is welcome. I would preferred to solve
this issue this other way.

I've done this patch because I'm continuously requesting VLC's VLM
information, and when VLC is put in debug mode, I get lots of very
annoying invalid index constructor messages that doesn't let me read
others debug messages.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Avoid-invalid-index-constructor.patch
Type: application/octet-stream
Size: 6451 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20090312/0ec1a089/attachment.obj>

More information about the vlc-devel mailing list