[vlc-commits] display: ignore fill status change failure
Rémi Denis-Courmont
git at videolan.org
Sat Sep 2 19:22:43 CEST 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug 10 18:16:42 2017 +0300| [cfc45915c3bc0f3c29308c980c6b16ec192776b5] | committer: Rémi Denis-Courmont
display: ignore fill status change failure
There are no reasons why fill status change should fail or be allowed to
fail while size change cannot.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfc45915c3bc0f3c29308c980c6b16ec192776b5
---
src/video_output/display.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 08231fa732..da7dcc8674 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -847,10 +847,7 @@ bool vout_ManageDisplay(vout_display_t *vd, bool allow_reset_pictures)
cfg.is_display_filled = osys->is_display_filled;
- if (vout_display_Control(vd, VOUT_DISPLAY_CHANGE_DISPLAY_FILLED, &cfg)) {
- msg_Err(vd, "Failed to change display filled state");
- osys->is_display_filled = osys->cfg.is_display_filled;
- }
+ vout_display_Control(vd, VOUT_DISPLAY_CHANGE_DISPLAY_FILLED, &cfg);
osys->cfg.is_display_filled = osys->is_display_filled;
osys->ch_display_filled = false;
}
More information about the vlc-commits
mailing list