[libbluray-devel] updated HDMV_EVENT_PLAY_STOP: simply close current playlist

hpi1 git at videolan.org
Thu Jun 23 17:24:22 CEST 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Jun 22 21:14:53 2011 +0300| [f3f7bf127d14a019d3992c921079d079615f6813] | committer: hpi1

updated HDMV_EVENT_PLAY_STOP: simply close current playlist

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

 src/libbluray/bluray.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 7673072..9ced815 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -2035,12 +2035,8 @@ static void _process_hdmv_vm_event(BLURAY *bd, HDMV_EVENT *hev)
             break;
 
         case HDMV_EVENT_PLAY_STOP:
-            BD_DEBUG(DBG_BLURAY|DBG_CRIT, "HDMV_EVENT_PLAY_STOP: not tested !\n");
             // stop current playlist
-            bd_seek(bd, (uint64_t)bd->title->packets * 192 - 1);
-            bd->st0.clip = NULL;
-            // resume suspended movie object
-            hdmv_vm_resume(bd->hdmv_vm);
+            _close_playlist(bd);
             break;
 
         case HDMV_EVENT_STILL:



More information about the libbluray-devel mailing list