[vlc-commits] iOS vout: remove write-only variable

Jean-Baptiste Kempf git at videolan.org
Fri Feb 17 09:52:29 CET 2017


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb 17 09:49:39 2017 +0100| [4f7ea9bc88fb2a7129f2079d3daab63314f81955] | committer: Jean-Baptiste Kempf

iOS vout: remove write-only variable

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

 modules/video_output/ios2.m | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/modules/video_output/ios2.m b/modules/video_output/ios2.m
index 5abaa1e..605dc2a 100644
--- a/modules/video_output/ios2.m
+++ b/modules/video_output/ios2.m
@@ -122,7 +122,6 @@ struct vout_display_sys_t
     vout_display_opengl_t *vgl;
 
     picture_pool_t *picturePool;
-    bool has_first_frame;
 
     vout_display_place_t place;
 };
@@ -232,7 +231,7 @@ static int Open(vlc_object_t *this)
                                                    object:nil];
         [sys->glESView reshape];
         return VLC_SUCCESS;
-        
+
     bailout:
         Close(this);
         return VLC_EGENERIC;
@@ -362,7 +361,6 @@ static int Control(vout_display_t *vd, int query, va_list ap)
 static void PictureDisplay(vout_display_t *vd, picture_t *pic, subpicture_t *subpicture)
 {
     vout_display_sys_t *sys = vd->sys;
-    sys->has_first_frame = true;
     @synchronized (sys->glESView) {
         if (likely([sys->glESView isAppActive])) {
             vlc_gl_MakeCurrent(sys->gl);



More information about the vlc-commits mailing list