mirror of
https://github.com/Motion-Project/motion.git
synced 2026-04-18 21:17:04 -04:00
Add : in netcam_url path spec
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
Summary of Changes
|
||||
* Allow : in non standard locations of netcam_url path.
|
||||
* Eliminated the use of coded_frame (Was a redundant assignment)
|
||||
* Revise HEVC to use H264 for older ffmpeg
|
||||
* Add HEVC codec option for newer ffmpeg (momo-i)
|
||||
|
||||
2
netcam.c
2
netcam.c
@@ -149,7 +149,7 @@ static void netcam_url_parse(struct url_t *parse_url, const char *text_url)
|
||||
int i;
|
||||
|
||||
const char *re = "(http|ftp|mjpg|mjpeg|rtsp)://(((.*):(.*))@)?"
|
||||
"([^/:]|[-.a-z0-9]+)(:([0-9]+))?($|(/[^:]*))";
|
||||
"([^/:]|[-.a-z0-9]+)(:([0-9]+))?($|(/[^*]*))";
|
||||
regex_t pattbuf;
|
||||
regmatch_t matches[10];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user