diff options
author | Nicolas George <george@nsup.org> | 2020-07-29 14:39:20 +0200 |
---|---|---|
committer | Nicolas George <george@nsup.org> | 2020-08-12 16:33:09 +0200 |
commit | d853293679f93ef882e6a5f1c47eb5a65ceddf3d (patch) | |
tree | a98280626780bd89a6d3294558667ed2bc617a27 /tests | |
parent | 64ff61b3c52af335e811fe04b85108775e1f2784 (diff) | |
download | ffmpeg-d853293679f93ef882e6a5f1c47eb5a65ceddf3d.tar.gz |
lavf/url: add ff_url_decompose().
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ref/fate/url | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/ref/fate/url b/tests/ref/fate/url index 533ba2cb1e..84cf85abdd 100644 --- a/tests/ref/fate/url +++ b/tests/ref/fate/url @@ -1,3 +1,48 @@ +Testing ff_url_decompose: + +http://user:pass@ffmpeg:8080/dir/file?query#fragment => + scheme: http: + authority: // + userinfo: user:pass@ + host: ffmpeg + port: :8080 + path: /dir/file + query: ?query + fragment: #fragment + +http://ffmpeg/dir/file => + scheme: http: + authority: // + host: ffmpeg + path: /dir/file + +file:///dev/null => + scheme: file: + authority: // + path: /dev/null + +file:/dev/null => + scheme: file: + path: /dev/null + +http://[::1]/dev/null => + scheme: http: + authority: // + host: [::1] + path: /dev/null + +http://[::1]:8080/dev/null => + scheme: http: + authority: // + host: [::1] + port: :8080 + path: /dev/null + +//ffmpeg/dev/null => + authority: // + host: ffmpeg + path: /dev/null + Testing ff_make_absolute_url: (null) baz => baz /foo/bar baz => /foo/baz |