mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-07 15:22:57 +00:00
udp: allow fifo size to be tuned seperately
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit bd652ff66e2062df5a05030f211c23e7d4e0be36)
This commit is contained in:
parent
e8baa8eb7f
commit
f54b8f8482
@ -426,7 +426,7 @@ static int udp_open(URLContext *h, const char *uri, int flags)
|
||||
if (av_find_info_tag(buf, sizeof(buf), "connect", p)) {
|
||||
s->is_connected = strtol(buf, NULL, 10);
|
||||
}
|
||||
if (av_find_info_tag(buf, sizeof(buf), "buf_size", p)) {
|
||||
if (av_find_info_tag(buf, sizeof(buf), "fifo_size", p)) {
|
||||
s->circular_buffer_size = strtol(buf, NULL, 10)*188;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user