예제 #1
0
double MediaFragmentURIParser::endTime() {
  if (!m_url.isValid())
    return std::numeric_limits<double>::quiet_NaN();
  if (m_timeFormat == None)
    parseTimeFragment();
  return m_endTime;
}
예제 #2
0
double MediaFragmentURIParser::endTime()
{
    if (!m_url.isValid())
        return MediaPlayer::invalidTime();
    if (m_timeFormat == None)
        parseTimeFragment();
    return m_endTime;
}
MediaTime MediaFragmentURIParser::startTime()
{
    if (!m_url.isValid())
        return MediaTime::invalidTime();
    if (m_timeFormat == None)
        parseTimeFragment();
    return m_startTime;
}