Lines Matching refs:gateway
38 // Is filled by the -gateway argument and not changed after.
39 char *gateway;
40 // If the above gateway is non null, it will be copied into this buffer.
41 // Else this buffer will contain the auto detected gateway.
42 // In either case, the gateway to use will be in this buffer.
46 // A best-effort way to find the IPFS gateway.
47 // Only the most appropiate gateway is set. It's not actually requested
83 // the "gateway" file which would tell us the gateway to use.
141 // Copy the fully composed gateway path into ipfs_gateway_file.
146 "The IPFS gateway file path exceeds "
153 // Get the contents of the gateway file.
157 "The IPFS gateway file (full uri: %s) doesn't exist. "
158 "Is the gateway enabled?\n",
176 // potential gateway url.
179 "The IPFS gateway file (full uri: %s) appears to be empty. "
180 "Is the gateway started?\n",
217 // It could still be wrong but in that case the gateway should save us and
225 // Populate c->gateway_buffer with whatever is in c->gateway
226 if (c->gateway != NULL) {
228 c->gateway)
231 "The -gateway parameter is too long. "
238 // Populate the IPFS gateway if we have any.
247 "and not share all your activity with a single IPFS gateway.\n"
248 "There are multiple options to define this gateway.\n"
249 "1. Call ffmpeg with a gateway param, "
250 "without a trailing slash: -gateway <url>.\n"
252 "full HTTP URL to the gateway "
262 // Test if the gateway starts with either http:// or https://
266 "The gateway URL didn't start with http:// or "
275 // 1st %s = The gateway.
276 // 2nd %s = If the gateway didn't end in a slash, add a "/". Otherwise it's an empty string
327 {"gateway", "The gateway to ask for IPFS data.", OFFSET(gateway), AV_OPT_TYPE_STRING, {.str = NULL}, 0, 0, AV_OPT_FLAG_DECODING_PARAM},