info: avoid unnecessary malloc/free for each log function call on MSVC
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 23 Sep 2010 11:49:59 +0000 (12:49 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 6 Jan 2011 17:35:13 +0000 (17:35 +0000)
commit8a9931f0a96cb3d91f28f66569972939f29db15e
treec04fc9fa82c1fc8de4fae0eb9e94780f04da74e5
parent4845ecf28042ff2a312f8d3a43aee19bf10bdf88
info: avoid unnecessary malloc/free for each log function call on MSVC

Avoid unnecessary malloc/free to get the file basename on MSVC to avoid
unnecessary overhead when doing GST_DEBUG=foo:5 or so (since it would be
done before the category log level filtering).
gst/gstinfo.c