summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/stream_mgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/stream_mgr.c')
-rw-r--r--apps/plugins/mpegplayer/stream_mgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c
index 53b5631..ad1df6f 100644
--- a/apps/plugins/mpegplayer/stream_mgr.c
+++ b/apps/plugins/mpegplayer/stream_mgr.c
@@ -357,7 +357,7 @@ static void stream_remember_resume_time(void)
uint32_t start;
uint32_t time = stream_get_seek_time(&start);
- if (time >= str_parser.start_pts && time < str_parser.end_pts)
+ if (time >= str_parser.start_pts && time <= str_parser.end_pts)
{
/* Save the current stream time */
stream_mgr.resume_time = time - start;