[vlc-devel] [PATCH v2 17/19] display: log when the source or picture placement changes
Steve Lhomme
robux4 at ycbcr.xyz
Tue Aug 25 16:20:30 CEST 2020
---
modules/video_output/win32/common.c | 9 ---------
src/video_output/display.c | 9 +++++++++
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/modules/video_output/win32/common.c b/modules/video_output/win32/common.c
index 64f635cb578..b76a2f44e1b 100644
--- a/modules/video_output/win32/common.c
+++ b/modules/video_output/win32/common.c
@@ -98,15 +98,6 @@ void CommonPlacePicture(vout_display_t *vd, display_win32_area_t *area)
/* Update the window position and size */
{
area->place_changed |= true;
-
-#ifndef NDEBUG
- msg_Dbg(vd, "UpdateRects source offset: %i,%i visible: %ix%i decoded: %ix%i",
- vd->source.i_x_offset, vd->source.i_y_offset,
- vd->source.i_visible_width, vd->source.i_visible_height,
- vd->source.i_width, vd->source.i_height);
- msg_Dbg(vd, "UpdateRects image_dst coords: %i,%i %ix%i",
- vd->place->x, vd->place->y, vd->place->width, vd->place->height);
-#endif
}
}
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 32c8195d338..62b4a1be80c 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -476,6 +476,15 @@ static void UpdatePicturePlace(vout_display_priv_t *osys)
{
vout_display_t *vd = &osys->display;
vout_display_PlacePicture(&osys->place, &vd->source, &osys->cfg, VOUT_ORIGIN_TOP_LEFT);
+
+#ifndef NDEBUG
+ msg_Dbg(vd, "UpdateRects source offset: %i,%i visible: %ix%i decoded: %ix%i",
+ vd->source.i_x_offset, vd->source.i_y_offset,
+ vd->source.i_visible_width, vd->source.i_visible_height,
+ vd->source.i_width, vd->source.i_height);
+ msg_Dbg(vd, "UpdateRects image_dst coords: %i,%i %ix%i",
+ vd->place->x, vd->place->y, vd->place->width, vd->place->height);
+#endif
}
static void vout_display_Reset(vout_display_t *vd)
--
2.26.2
More information about the vlc-devel
mailing list