Commit 31dab577 authored by Francois Cartegnie's avatar Francois Cartegnie

stream_filter: smooth: handle "start_time" and "start time" patterns

parent 04b5c180
......@@ -79,8 +79,10 @@ static char *ConstructUrl( const char *psz_template, const char *psz_base_url,
}
free( psz_bitrate );
}
else if ( (psz_start = strstr( psz_path, "{start time}" )) )
else if ( (psz_start = strstr( psz_path, "{start time}" )) ||
(psz_start = strstr( psz_path, "{start_time}" )) )
{
psz_start[6] = ' ';
char *psz_starttime = NULL;
if ( us_asprintf( &psz_starttime, "%"PRIu64, i_start_time ) < 0 ||
! Replace( &psz_path, psz_start - psz_path, "{start time}", psz_starttime ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment