[vlc-commits] caca: remove manage callback
Rémi Denis-Courmont
git at videolan.org
Sun May 20 19:51:17 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu May 17 19:52:39 2018 +0300| [834cee743fd5754224cefe5adf6d4ad87db31fd4] | committer: Rémi Denis-Courmont
caca: remove manage callback
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=834cee743fd5754224cefe5adf6d4ad87db31fd4
---
modules/video_output/caca.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
index 1e10e3560b..9fdae9e9c9 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -144,12 +144,16 @@ static void Refresh(vout_display_t *vd)
vout_display_SendEventDisplaySize(vd, width, height);
}
+static void Manage(vout_display_t *vd);
+
/**
* Prepare a picture for display */
-static void Prepare(vout_display_t *vd, picture_t *picture, subpicture_t *subpicture,
- mtime_t date)
+static void Prepare(vout_display_t *vd, picture_t *picture,
+ subpicture_t *subpicture, mtime_t date)
{
+ Manage(vd);
VLC_UNUSED(date);
+
vout_display_sys_t *sys = vd->sys;
if (!sys->dither) {
@@ -504,7 +508,6 @@ static int Open(vlc_object_t *object)
vd->prepare = Prepare;
vd->display = PictureDisplay;
vd->control = Control;
- vd->manage = Manage;
/* Fix initial state */
Refresh(vd);
More information about the vlc-commits
mailing list