[vlc-commits] androidsurface: explain how how picture is rendered

Rafaël Carré git at videolan.org
Tue Feb 12 08:13:34 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Tue Feb 12 08:13:09 2013 +0100| [eeb932db8424f35c11c40d8c0db3a11347f631b7] | committer: Rafaël Carré

androidsurface: explain how how picture is rendered

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

 modules/video_output/androidsurface.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/androidsurface.c b/modules/video_output/androidsurface.c
index fcd6467..6784ab9 100644
--- a/modules/video_output/androidsurface.c
+++ b/modules/video_output/androidsurface.c
@@ -382,10 +382,11 @@ static void AndroidUnlockSurface(picture_t *picture)
 
 static void Display(vout_display_t *vd, picture_t *picture, subpicture_t *subpicture)
 {
-    /* FIXME ? */
-
     VLC_UNUSED(vd);
     VLC_UNUSED(subpicture);
+
+    /* refcount lowers to 0, and pool_cfg.unlock is called */
+
     picture_Release(picture);
 }
 



More information about the vlc-commits mailing list