- 08 Mar, 2020 1 commit
-
-
phunkyfish authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 02 Feb, 2020 2 commits
-
-
Marton Balint authored
recvfrom() is not a cancellation point in pthreads-win32, see https://sourceware.org/pthreads-win32/manual/pthread_cancel.html In order to be able to cancel the reader thread on Win32 properly we first shutdown the socket then call CancelIoEx to abort pending IO. Subsequent recvfrom() calls will fail with WSAESHUTDOWN causing the thread to exit. Fixes ticket #5717. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Write mode does not use cancellation. Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 25 Jan, 2020 3 commits
-
-
Marton Balint authored
It is a common mistake that people only increase fifo_size when they experience drops, unfortunately this does not help for higher bitrate (> 100 Mbps) streams when the reader thread simply might not receive the packets in time (especially under high CPU load) if the default 64 KB of kernel buffer size is used. New default is determined so that common linux systems can set this buffer size without tuning kernel parameters. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 20 Jan, 2020 1 commit
-
-
Xuchen Su authored
not write-only include read-write pseudo flag. so make the flag read-only Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-
- 08 Oct, 2019 1 commit
-
-
Steven Liu authored
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
-
- 03 Oct, 2018 4 commits
-
-
Marton Balint authored
avformat/udp: always use IP_ADD_SOURCE_MEMBERSHIP for subscribing to an UDP multicast source group in IPv4 That alone supports specifying the interface based on its address. Getting the interface index from the local address seems quite a bit of work in a platform independent way... Obviously for IPv6 we still always use MCAST_JOIN_SOURCE_GROUP. As a side effect this also fixes ticket #7459. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
We already use localaddr for the multicast joins without source filters, so we should use them for source filters as well. This patch only fixes the IP_ADD_SOURCE_MEMBERSHIP and the IP_BLOCK_SOURCE case. Unless we do this, the kernel automatically selects an interface based on the source address, and that interface might be different from the one set in localaddr. For blocked sources this even casues EINVAL because we joined the multicast group on a different interface. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
This allows getting data only from a specific source IP. This is useful not only for unicast but for multicast as well because multicast source subscriptions do not act as source filters for the incoming packets. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 18 Aug, 2018 1 commit
-
-
Jun Zhao authored
Signed-off-by: Jun Zhao <mypopydev@gmail.com>
-
- 23 Nov, 2017 1 commit
-
-
Derek Buitenhuis authored
This was an mplayer-specific hack. This reverts commit a4f94f24. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
-
- 10 Jul, 2017 1 commit
-
-
Diego Biurrun authored
glibc introduced _DEFAULT_SOURCE in version 2.19 to replace _BSD_SOURCE and _SVID_SOURCE, which were deprecated in version 2.20. Add _DEFAULT_SOURCE where the latter two are used to be forwards-compatible and avoid warnings about the use of deprecated definitions.
-
- 03 Sep, 2016 1 commit
-
-
Carl Eugen Hoyos authored
Fixes ticket #5774.
-
- 19 Jun, 2016 2 commits
-
-
Marton Balint authored
We haven't had a stable release since the packet_gap addition, so probably it is worth reworking the option to something that makes more sense to the end user. Also add burst_bits option to specify maximum length of bit bursts. Signed-off-by: Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by: Marton Balint <cus@passwd.hu>
-
- 03 Jun, 2016 1 commit
-
-
Nicolas George authored
Since d607861c, service can not be NULL, only "0". An UDP address with neither local port nor address leaves both service and node to their default value, and POSIX specifies that they are not allowed to be both NULL; "0" is equivalent to an unspecified port for all currently known protocols. Fix CID 1341570.
-
- 02 Jun, 2016 1 commit
-
-
Michael Niedermayer authored
This isnt really needed on most platforms but fixes CID1362183 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 29 May, 2016 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 24 May, 2016 3 commits
-
-
Michael Niedermayer authored
for send() this cannot work and even for recv() it feels very wrong and hackish Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Michael Niedermayer authored
This fixes partially completed send() Avoids holding the mutex during send() fixes race conditions in error handling removes copied non thread specific blocking code Fixes deadlocks on closure Fixes data loss on closure Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
Pavel Nikiforov authored
This commit enables sending UDP packets in a background thread with specified delay. When sending packets without a delay some devices with small RX buffer ( MAG200 STB, for example) will drop tail packets in bursts causing decoding errors. To use it specify "fifo_size" with "packet_gap" . The output url will looks like udp://xxx:yyy?fifo_size=<output fifo size>&packet_gap=<delay in usecs> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-
- 22 Feb, 2016 1 commit
-
-
Anton Khirnov authored
Instead of a linked list constructed at av_register_all(), store them in a constant array of pointers. Since no registration is necessary now, this removes some global state from lavf. This will also allow the urlprotocol layer caller to limit the available protocols in a simple and flexible way in the following commits.
-
- 04 Dec, 2015 1 commit
-
-
Clément Bœsch authored
-
- 25 Nov, 2015 2 commits
-
-
Luca Barbato authored
-
Luca Barbato authored
-
- 04 Oct, 2015 1 commit
-
-
Ganesh Ajjanagadde authored
Glibc 2.20 onwards generates a deprecation warning for usage of _BSD_SOURCE and _SVID_SOURCE. The solution from man feature_test_macros is to define both _DEFAULT_SOURCE and the old macros. This solution is on the lines of the one in commit af181827. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-
- 22 Jun, 2015 1 commit
-
-
Luca Barbato authored
The default value for unset is -1, not 0. Problem introduced in 66028b7b
-
- 29 Mar, 2015 2 commits
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Luca Barbato authored
The default value for unset is -1, not 0. Problem introduced in 66028b7b Bug-Id: 835
-
- 19 Mar, 2015 1 commit
-
-
Martin Storsjö authored
Add a missing AVClass member, check whether localaddr is null. (Previously, localaddr was always a local stack buffer, while it now also can be an avoption string which can be null.) This fixes crashes when not passing any localaddr parameter, since 66028b7b. Signed-off-by: Martin Storsjö <martin@martin.st>
-
- 15 Mar, 2015 1 commit
-
-
Luca Barbato authored
Add AVOptions for options currently available as url parameters.
-
- 14 Feb, 2015 1 commit
-
-
Diego Biurrun authored
-
- 27 Nov, 2014 1 commit
-
-
Vincent Bernat authored
By appending `?dscp=26` to the URL, IP packets will be classified as AF31 (assured forwarding for multimedia flows with low probability of loss). On congested network, this allows a user to assign priorities to flows. Signed-off-by: Vincent Bernat <vincent@bernat.im>
-
- 05 Nov, 2014 1 commit
-
-
Thomas Volkert authored
(This fixes ticket #1501) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 30 Aug, 2014 1 commit
-
-
Michael Niedermayer authored
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
- 16 Aug, 2014 2 commits
-
-
Michael Niedermayer authored
Found-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-
Michael Niedermayer authored
Reviewed-by: James Darnley <james.darnley@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-