[vlc-commits] D3D vout: don't spam too much the messages in release mode

Jean-Baptiste Kempf git at videolan.org
Mon Sep 26 02:08:22 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Sep 26 02:07:18 2011 +0200| [ad3c03d5cc6f04180591dfd7e2ac35f36bb5e7f0] | committer: Jean-Baptiste Kempf

D3D vout: don't spam too much the messages in release mode

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad3c03d5cc6f04180591dfd7e2ac35f36bb5e7f0
---

 modules/video_output/msw/direct3d.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/msw/direct3d.c b/modules/video_output/msw/direct3d.c
index db06c73..e55de0c 100644
--- a/modules/video_output/msw/direct3d.c
+++ b/modules/video_output/msw/direct3d.c
@@ -1221,8 +1221,10 @@ static void Direct3DImportSubpicture(vout_display_t *vd,
                 cache->format == sys->d3dregion_format &&
                 cache->width  == r->fmt.i_visible_width &&
                 cache->height == r->fmt.i_visible_height) {
+#ifndef NDEBUG
                 msg_Dbg(vd, "Reusing %dx%d texture for OSD",
                         cache->width, cache->height);
+#endif
                 *d3dr = *cache;
                 memset(cache, 0, sizeof(*cache));
             }



More information about the vlc-commits mailing list