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
This commit is contained in:
KongQun Yang 2017-06-07 10:26:34 -07:00
parent a251208a75
commit d28b19788d
1 changed files with 0 additions and 3 deletions

View File

@ -228,9 +228,6 @@ bool HasRequiredVideoFields(const MediaInfo_VideoInfo& video_info) {
LOG_IF(WARNING, !video_info.has_time_scale()) LOG_IF(WARNING, !video_info.has_time_scale())
<< "Video info does not contain timescale required for " << "Video info does not contain timescale required for "
"calculating framerate. @frameRate is required for DASH IOP."; "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()) LOG_IF(WARNING, !video_info.has_pixel_width())
<< "Video info does not contain pixel_width to calculate the sample " << "Video info does not contain pixel_width to calculate the sample "
"aspect ratio required for DASH IOP."; "aspect ratio required for DASH IOP.";