[vlc-commits] display: remove unused vout_DeleteDisplay()
Rémi Denis-Courmont
git at videolan.org
Sat Jan 26 19:51:09 CET 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 26 11:32:33 2019 +0200| [c9c00f39a66ea26ae9fc1f339c7c3a89cea02ed6] | committer: Rémi Denis-Courmont
display: remove unused vout_DeleteDisplay()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c9c00f39a66ea26ae9fc1f339c7c3a89cea02ed6
---
src/video_output/display.c | 10 ----------
src/video_output/vout_wrapper.h | 1 -
2 files changed, 11 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 89ca87e3ae..7765e5146c 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -803,16 +803,6 @@ error:
return NULL;
}
-void vout_DeleteDisplay(vout_display_t *vd, vout_display_cfg_t *cfg)
-{
- vout_display_priv_t *osys = container_of(vd, vout_display_priv_t, display);
-
- if (cfg != NULL)
- *cfg = osys->cfg;
-
- vout_display_Delete(vd);
-}
-
void vout_display_Delete(vout_display_t *vd)
{
vout_display_priv_t *osys = container_of(vd, vout_display_priv_t, display);
diff --git a/src/video_output/vout_wrapper.h b/src/video_output/vout_wrapper.h
index 0f3a6b5880..dffbfa4057 100644
--- a/src/video_output/vout_wrapper.h
+++ b/src/video_output/vout_wrapper.h
@@ -32,7 +32,6 @@ picture_pool_t *vout_GetPool(vout_display_t *vd, unsigned count);
/**
* It destroy a vout managed display.
*/
-void vout_DeleteDisplay(vout_display_t *, vout_display_cfg_t *);
bool vout_IsDisplayFiltered(vout_display_t *);
picture_t * vout_FilterDisplay(vout_display_t *, picture_t *);
void vout_FilterFlush(vout_display_t *);
More information about the vlc-commits
mailing list