[vlc-commits] Android vout: log when you can't get a subtitle surface
Jean-Baptiste Kempf
git at videolan.org
Fri Oct 30 18:46:02 CET 2015
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 30 18:35:07 2015 +0100| [a80264d83db3abdb0415e8f76e1f54f32d058d75] | 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=a80264d83db3abdb0415e8f76e1f54f32d058d75
---
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..7f9fd7f 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 if (id == AWindow_Subtitles)
+ msg_Err(vd, "can't get Subtitles Surface");
goto error;
}
More information about the vlc-commits
mailing list