• Martin Storsjö's avatar
    rtsp: Don't warn about unparsed time ranges · eb7ddb50
    Martin Storsjö authored
    This removes the error logging added in 4e544321.
    
    This avoids warnings about "Invalid interval start specification 'now'"
    for live rtsp streams.
    
    We only try to parse some of the many valid values for time ranges
    in RTSP - the other ones are fully valid but not interesting for the
    use case in rtsp.c, so we shouldn't warn about them.
    
    (Parsing the time ranges is needed to allow seeking, but e.g. setting
    the current realtime clock for the start time doesn't make sense.
    av_parse_time has got a different mode for parsing absolute times
    as well, which can handle the special case "now", but that doesn't
    make much sense for this particular use in rtsp.c.)
    Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
    eb7ddb50
rtsp.c 89.4 KB