]> git.sesse.net Git - vlc/commitdiff
D3D vout: don't spam too much the messages in release mode
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 26 Sep 2011 00:07:18 +0000 (02:07 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 26 Sep 2011 00:07:18 +0000 (02:07 +0200)
modules/video_output/msw/direct3d.c

index db06c73dca4c0f30203f9e1a933e931aa2609d2d..e55de0cd0628f21d4061f2d44d7828cb19662b38 100644 (file)
@@ -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));
             }