[vlc-commits] display: remove dead code
Rémi Denis-Courmont
git at videolan.org
Sun Dec 9 20:45:41 CET 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Dec 8 19:09:09 2018 +0200| [b466e713eee809d08f2301cff6967400812123fa] | committer: Rémi Denis-Courmont
display: remove dead code
As per the initializations 20 lines earlier, the predicate was always
false.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b466e713eee809d08f2301cff6967400812123fa
---
src/video_output/display.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/video_output/display.c b/src/video_output/display.c
index 7ea553a73a..e4c603df7e 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -988,11 +988,6 @@ static vout_display_t *DisplayNew(vout_thread_t *vout,
goto error;
}
- /* Setup delayed request */
- if (osys->sar.num != source->i_sar_num ||
- osys->sar.den != source->i_sar_den)
- osys->ch_sar = true;
-
var_SetBool(osys->vout, "viewpoint-changeable",
p_display->fmt.projection_mode != PROJECTION_MODE_RECTANGULAR);
More information about the vlc-commits
mailing list