[vlc-commits] Android vout: log when you can't get a subtitle surface

Jean-Baptiste Kempf git at videolan.org
Fri Oct 30 18:37:03 CET 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 30 18:35:07 2015 +0100| [cbab67a89682b1ea01155dfa38419fd76f1fae59] | committer: Jean-Baptiste Kempf

Android vout: log when you can't get a subtitle surface

If there is no secondary surface, and we're using opaque -> no blend,
and no spu

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

 modules/video_output/android/android_window.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/video_output/android/android_window.c b/modules/video_output/android/android_window.c
index b371188..af60043 100644
--- a/modules/video_output/android/android_window.c
+++ b/modules/video_output/android/android_window.c
@@ -399,6 +399,8 @@ static android_window *AndroidWindow_New(vout_display_t *vd,
     {
         if (id == AWindow_Video)
             msg_Err(vd, "can't get Video Surface");
+        else (id == AWindow_Subtitles)
+            msg_Err(vd, "can't get Subtitles Surface");
         goto error;
     }
 



More information about the vlc-commits mailing list