vlc/python | branch: master | Olivier Aubert <[email protected]> | Mon Sep 10 16:39:14 2012 +0200| [c47f16f6dde03f2121ba101c51e7691cc0caf1ea] | committer: Olivier Aubert
python bindings: explicitly convert string to bytes > http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=c47f16f6dde03f2121ba101c51e7691cc0caf1ea --- footer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/footer.py b/footer.py index d294265..9263b35 100644 --- a/footer.py +++ b/footer.py @@ -144,7 +144,7 @@ if __name__ == '__main__': player.video_set_marquee_int(VideoMarqueeOption.Refresh, 1000) # millisec (or sec?) ##t = '$L / $D or $P at $T' t = '%Y-%m-%d %H:%M:%S' - player.video_set_marquee_string(VideoMarqueeOption.Text, t) + player.video_set_marquee_string(VideoMarqueeOption.Text, str_to_bytes(t)) # Some event manager examples. Note, the callback can be any Python # callable and does not need to be decorated. Optionally, specify _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
