diff --git a/packager/media/formats/mp4/fragmenter.cc b/packager/media/formats/mp4/fragmenter.cc index 5d170ab801..01718921b2 100644 --- a/packager/media/formats/mp4/fragmenter.cc +++ b/packager/media/formats/mp4/fragmenter.cc @@ -46,7 +46,10 @@ Fragmenter::~Fragmenter() {} Status Fragmenter::AddSample(scoped_refptr sample) { DCHECK(sample); - CHECK_GT(sample->duration(), 0); + if (sample->duration() == 0) { + LOG(WARNING) << "Unexpected sample with zero duration @ dts " + << sample->dts(); + } if (!fragment_initialized_) { Status status = InitializeFragment(sample->dts());