libbluray | branch: master | hpi1 <[email protected]> | 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:

_______________________________________________
libbluray-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to