[vlc-commits] Win32: remove the "reusing OSD texture" message

Jean-Baptiste Kempf git at videolan.org
Mon Jul 6 19:13:39 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jul  6 19:13:12 2015 +0200| [884a7e2e4b2a21e10380d4f6e5ec23df8c8e882f] | committer: Jean-Baptiste Kempf

Win32: remove the "reusing OSD texture" message

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

 modules/video_output/msw/direct3d11.c |    4 ----
 modules/video_output/msw/direct3d9.c  |    4 ----
 2 files changed, 8 deletions(-)

diff --git a/modules/video_output/msw/direct3d11.c b/modules/video_output/msw/direct3d11.c
index f5d33bb..3acc4b6 100644
--- a/modules/video_output/msw/direct3d11.c
+++ b/modules/video_output/msw/direct3d11.c
@@ -1682,10 +1682,6 @@ static int Direct3D11MapSubpicture(vout_display_t *vd, int *subpicture_region_co
                 if (texDesc.Format == sys->d3dregion_format &&
                     texDesc.Width  == r->fmt.i_visible_width &&
                     texDesc.Height == r->fmt.i_visible_height) {
-#ifndef NDEBUG
-                    msg_Dbg(vd, "Reusing %dx%d texture for OSD",
-                            texDesc.Width, texDesc.Height);
-#endif
                     (*region)[i] = cache;
                     memset(&sys->d3dregions[j], 0, sizeof(cache)); // do not reuse this cached value
                     break;
diff --git a/modules/video_output/msw/direct3d9.c b/modules/video_output/msw/direct3d9.c
index 3ab12f1..6c74cd9 100644
--- a/modules/video_output/msw/direct3d9.c
+++ b/modules/video_output/msw/direct3d9.c
@@ -1608,10 +1608,6 @@ static void Direct3D9ImportSubpicture(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));
                 break;



More information about the vlc-commits mailing list