@kmamal/media-decoders 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.1.1",
3
3
  "name": "@kmamal/media-decoders",
4
4
  "description": "Audio and video decoding for Node.js through FFmpeg",
5
5
  "keywords": [
@@ -187,7 +187,8 @@ VideoFeedWriter::behindReader (int64_t segment, double end)
187
187
  position_time = header->position_time.load(std::memory_order_relaxed);
188
188
  });
189
189
  if (!has) { return false; }
190
- return segment < position_segment || (segment == position_segment && end <= position_time + TIME_EPSILON);
190
+ if (segment < position_segment) { return !header->control.seeking(); }
191
+ return segment == position_segment && end <= position_time + TIME_EPSILON;
191
192
  }
192
193
 
193
194
  void