[vlc-commits] vout_SetDisplayFullscreen: remove unused function
Rémi Denis-Courmont
git at videolan.org
Tue Dec 20 00:16:18 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Dec 20 01:06:46 2016 +0200| [2090c67086a586bb8f3e8bf58d77aa8ade883d25] | committer: Rémi Denis-Courmont
vout_SetDisplayFullscreen: remove unused function
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2090c67086a586bb8f3e8bf58d77aa8ade883d25
---
include/vlc_vout_wrapper.h | 1 -
src/video_output/display.c | 12 ------------
2 files changed, 13 deletions(-)
diff --git a/include/vlc_vout_wrapper.h b/include/vlc_vout_wrapper.h
index ce019a8..7cf13b8 100644
--- a/include/vlc_vout_wrapper.h
+++ b/include/vlc_vout_wrapper.h
@@ -87,7 +87,6 @@ bool vout_AreDisplayPicturesInvalid(vout_display_t *);
bool vout_ManageDisplay(vout_display_t *, bool allow_reset_pictures);
-void vout_SetDisplayFullscreen(vout_display_t *, bool is_fullscreen);
void vout_SetDisplayFilled(vout_display_t *, bool is_filled);
void vout_SetDisplayZoom(vout_display_t *, unsigned num, unsigned den);
void vout_SetDisplayAspect(vout_display_t *, unsigned num, unsigned den);
diff --git a/src/video_output/display.c b/src/video_output/display.c
index f550dd0..3fb8970 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -1134,18 +1134,6 @@ void vout_UpdateDisplaySourceProperties(vout_display_t *vd, const video_format_t
}
}
-void vout_SetDisplayFullscreen(vout_display_t *vd, bool is_fullscreen)
-{
- vout_display_owner_sys_t *osys = vd->owner.sys;
-
- vlc_mutex_lock(&osys->lock);
- if (!osys->is_fullscreen != !is_fullscreen) {
- osys->ch_fullscreen = true;
- osys->is_fullscreen = is_fullscreen;
- }
- vlc_mutex_unlock(&osys->lock);
-}
-
void vout_SetDisplayFilled(vout_display_t *vd, bool is_filled)
{
vout_display_owner_sys_t *osys = vd->owner.sys;
More information about the vlc-commits
mailing list