[libbluray-devel] commit: bd_read(): fixed seamless angle change. New . m2ts clip was not opened. (hpi1 )

git at videolan.org git at videolan.org
Thu Aug 19 14:04:28 CEST 2010


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Aug 19 14:55:34 2010 +0300| [8f2bd3c9abcc21fb9c69b1f87222e8760f411b7c] | committer: hpi1 

bd_read(): fixed seamless angle change. New .m2ts clip was not opened.

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

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

diff --git a/src/libbluray/bluray.c b/src/libbluray/bluray.c
index 57aeeb6..84259c6 100644
--- a/src/libbluray/bluray.c
+++ b/src/libbluray/bluray.c
@@ -734,8 +734,7 @@ int bd_read(BLURAY *bd, unsigned char *buf, int len)
                         }
                         bd->s_pos = st->clip->pos;
                     } else {
-                        st->clip = nav_set_angle(bd->title, st->clip, bd->request_angle);
-                        bd_psr_write(bd->regs, PSR_ANGLE_NUMBER, bd->title->angle + 1);
+                        _change_angle(bd);
                         _clip_seek_time(bd, bd->angle_change_time);
                     }
                     bd->seamless_angle_change = 0;



More information about the libbluray-devel mailing list