[vlc-commits] video output: remove unused vout_IsDisplayFiltered
Steve Lhomme
git at videolan.org
Fri Oct 25 08:30:43 CEST 2019
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 24 10:05:58 2019 +0200| [f7f39fcce6a10b06687516dd3433121dffb00185] | committer: Steve Lhomme
video output: remove unused vout_IsDisplayFiltered
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7f39fcce6a10b06687516dd3433121dffb00185
---
src/video_output/display.c | 7 -------
src/video_output/vout_wrapper.h | 4 ----
2 files changed, 11 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 556406f7c6..bc92d8df72 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -403,13 +403,6 @@ picture_pool_t *vout_GetPool(vout_display_t *vd, unsigned count)
return osys->pool;
}
-bool vout_IsDisplayFiltered(vout_display_t *vd)
-{
- vout_display_priv_t *osys = container_of(vd, vout_display_priv_t, display);
-
- return osys->converters == NULL || !filter_chain_IsEmpty(osys->converters);
-}
-
picture_t *vout_ConvertForDisplay(vout_display_t *vd, picture_t *picture)
{
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 d95a34359d..b65f2bdcb5 100644
--- a/src/video_output/vout_wrapper.h
+++ b/src/video_output/vout_wrapper.h
@@ -29,10 +29,6 @@
picture_pool_t *vout_GetPool(vout_display_t *vd, unsigned count);
-/**
- * It destroy a vout managed display.
- */
-bool vout_IsDisplayFiltered(vout_display_t *);
picture_t * vout_ConvertForDisplay(vout_display_t *, picture_t *);
void vout_FilterFlush(vout_display_t *);
More information about the vlc-commits
mailing list