vlc | branch: master | Rémi Denis-Courmont <r...@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);
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to