libdvr: No AML_MP_DVRPLAYER_EVENT_REACHED_BEGIN at rewind [1/1]
PD#OTT-45864
PD#SWPL-130636
Problem:
REACHED_BEGIN event not works.
Solution:
Remove the code that blocks the event.
Verify:
Tested pass on ohm
Signed-off-by: Wentao.MA <wentao.ma@amlogic.com>
Change-Id: I346c16c4d6d22d1a2d292a5c4dfa3284f76c2304
diff --git a/src/dvr_wrapper.c b/src/dvr_wrapper.c
index 197bbb1..6234a06 100644
--- a/src/dvr_wrapper.c
+++ b/src/dvr_wrapper.c
@@ -3112,7 +3112,7 @@
process_notifyPlayback(ctx, evt->playback.event, &status);
ctx->playback.reach_end = DVR_TRUE;
}
- } else if (evt->playback.event != DVR_PLAYBACK_EVENT_REACHED_BEGIN) {
+ } else {
process_notifyPlayback(ctx, evt->playback.event, &status);
}
} break;