[libbluray-devel] commit: _close_playlist(): reset graphics controller (hpi1 )
git at videolan.org
git at videolan.org
Mon Oct 25 11:55:48 CEST 2010
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Oct 18 16:00:29 2010 +0300| [cf54d520652536abd55397dec37b5416aa024d21] | committer: hpi1
_close_playlist(): reset graphics controller
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=cf54d520652536abd55397dec37b5416aa024d21
---
src/libbluray/bluray.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index bb061ff..7cb9813 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -936,6 +936,10 @@ static int _preload_subpaths(BLURAY *bd)
static void _close_playlist(BLURAY *bd)
{
+ if (bd->graphics_controller) {
+ gc_run(bd->graphics_controller, GC_CTRL_RESET, 0, NULL);
+ }
+
_close_m2ts(&bd->st0);
_close_preload(&bd->st_ig);
More information about the libbluray-devel
mailing list