[libbluray-devel] bd_psr_restore_state(): call PSR changed callback for all restored registers ( even if register value does not change)

hpi1 git at videolan.org
Sat Apr 30 20:24:19 CEST 2011


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sat Apr 30 21:17:01 2011 +0300| [84da76dc7df2d2c657e421b58116cc980bfa8705] | committer: hpi1

bd_psr_restore_state(): call PSR changed callback for all restored registers (even if register value does not change)

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

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

diff --git a/src/libbluray/register.c b/src/libbluray/register.c
index 07032f8..bfe4b89 100644
--- a/src/libbluray/register.c
+++ b/src/libbluray/register.c
@@ -291,7 +291,7 @@ void bd_psr_restore_state(BD_REGISTERS *p)
         ev.ev_type = BD_PSR_RESTORE;
 
         for (i = 4; i < 13; i++) {
-            if (i != 9 && old_psr[i] != p->psr[i]) {
+            if (i != 9) {
 
                 ev.psr_idx = i;
                 ev.old_val = old_psr[i];



More information about the libbluray-devel mailing list