[vlc-commits] aa: remove write-only structure

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 00:46:20 2016 +0200| [e189527ebefd4bfd01023f705f5b1e1bb49daa32] | committer: Rémi Denis-Courmont

aa: remove write-only structure

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e189527ebefd4bfd01023f705f5b1e1bb49daa32
---

 modules/video_output/aa.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/modules/video_output/aa.c b/modules/video_output/aa.c
index 9b9436d..88f6ac7 100644
--- a/modules/video_output/aa.c
+++ b/modules/video_output/aa.c
@@ -78,7 +78,6 @@ struct vout_display_sys_t {
     struct aa_context*  aa_context;
     aa_palette          palette;
 
-    vout_display_cfg_t  state;
     picture_pool_t      *pool;
 };
 
@@ -135,8 +134,6 @@ static int Open(vlc_object_t *object)
 
     /* Inspect initial configuration and send correction events
      * FIXME how to handle aspect ratio with aa ? */
-    sys->state = *vd->cfg;
-    sys->state.is_fullscreen = false;
     vout_display_SendEventFullscreen(vd, false);
     vout_display_SendEventDisplaySize(vd, fmt.i_width, fmt.i_height);
 



More information about the vlc-commits mailing list