Permalink
Browse files

fixed flv seeking

  • Loading branch information...
1 parent 20b55b3 commit 98d959ac5374bd14123f53318e6c8a8d481ffd92 @arut committed Oct 24, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 ngx_rtmp_flv_module.c
View
@@ -604,6 +604,8 @@ ngx_rtmp_flv_seek(ngx_rtmp_session_t *s, ngx_file_t *f, ngx_uint_t timestamp)
"flv: seek timestamp=%ui", timestamp);
ctx->start_timestamp = timestamp;
+ ctx->offset = -1;
+ ctx->msg_mask = 0;
return NGX_OK;
}

0 comments on commit 98d959a

Please sign in to comment.