From d28b19788d38dd9813457cc4c0387d8977afa0c3 Mon Sep 17 00:00:00 2001 From: KongQun Yang Date: Wed, 7 Jun 2017 10:26:34 -0700 Subject: [PATCH] Remove misleading frame duration message in live mode frame_duration is not available when the VideoInfo is created, but it will become available when a media segment arrives. Change-Id: I2c24852fca4ff77c2b86ff78dbf0963ad0a0afa6 --- packager/mpd/base/mpd_builder.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/packager/mpd/base/mpd_builder.cc b/packager/mpd/base/mpd_builder.cc index e38a630d25..072b7c025e 100644 --- a/packager/mpd/base/mpd_builder.cc +++ b/packager/mpd/base/mpd_builder.cc @@ -228,9 +228,6 @@ bool HasRequiredVideoFields(const MediaInfo_VideoInfo& video_info) { LOG_IF(WARNING, !video_info.has_time_scale()) << "Video info does not contain timescale required for " "calculating framerate. @frameRate is required for DASH IOP."; - LOG_IF(WARNING, !video_info.has_frame_duration()) - << "Video info does not contain frame duration required " - "for calculating framerate. @frameRate is required for DASH IOP."; LOG_IF(WARNING, !video_info.has_pixel_width()) << "Video info does not contain pixel_width to calculate the sample " "aspect ratio required for DASH IOP.";