[vlc-commits] vdummy: remove useless manage callback

Rémi Denis-Courmont git at videolan.org
Thu Aug 4 17:16:37 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug  4 13:42:37 2011 +0300| [3e0d6d5f93c26a87df84914ddbf407882133e192] | committer: Rémi Denis-Courmont

vdummy: remove useless manage callback

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

 modules/video_output/vdummy.c |    8 +-------
 1 files changed, 1 insertions(+), 7 deletions(-)

diff --git a/modules/video_output/vdummy.c b/modules/video_output/vdummy.c
index ead9c20..1da24b9 100644
--- a/modules/video_output/vdummy.c
+++ b/modules/video_output/vdummy.c
@@ -72,7 +72,6 @@ static picture_pool_t *Pool(vout_display_t *, unsigned count);
 static void            Display(vout_display_t *, picture_t *, subpicture_t *);
 static void            DisplayStat(vout_display_t *, picture_t *, subpicture_t *);
 static int             Control(vout_display_t *, int, va_list);
-static void            Manage (vout_display_t *);
 
 /*****************************************************************************
  * OpenVideo: activates dummy vout display method
@@ -103,7 +102,7 @@ static int Open(vlc_object_t *object,
     vd->prepare = NULL;
     vd->display = display;
     vd->control = Control;
-    vd->manage  = Manage;
+    vd->manage  = NULL;
 
     return VLC_SUCCESS;
 }
@@ -163,8 +162,3 @@ static int Control(vout_display_t *vd, int query, va_list args)
     VLC_UNUSED(args);
     return VLC_SUCCESS;
 }
-
-static void Manage(vout_display_t *vd)
-{
-    VLC_UNUSED(vd);
-}



More information about the vlc-commits mailing list