diff options
author | Martin Storsjö <martin@martin.st> | 2017-06-19 15:49:25 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2017-06-20 23:55:52 +0300 |
commit | eb061ad6fd0e3cea7cf7cfbff0749bc90dd7d888 (patch) | |
tree | 2b2f0e752fcc73274185ccec0200b8cc9c96d966 /libavcodec/gsmdec_template.c | |
parent | 0671eb2346c17e8fb13784cf90ce416661fdea1c (diff) | |
download | ffmpeg-eb061ad6fd0e3cea7cf7cfbff0749bc90dd7d888.tar.gz |
tls_gnutls: Readd support for nonblocking operation
The rtmp protocol uses nonblocking reads, to poll for incoming
messages from the server while publishing a stream.
Prior to 94599a6de3822b13c94096d764868128f388ba28 and
d13b124eaf452b267480074b2e6946538ed03a6e, the tls protocol
handled the nonblocking flag, mostly as a side effect from not
using custom IO callbacks for reading from the socket. When custom
IO callbacks were taken into use in
d15eec4d6bdfa3bd4c4b5b7dd2dbd699ba253d02, the handling of a nonblocking
socket wasn't necessary for the default blocking mode any longer.
The code was simplified, since it was overlooked that other code
within libavformat actually used the tls protocol in nonblocking mode.
This fixes publishing over rtmps, with the gnutls backend.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/gsmdec_template.c')
0 files changed, 0 insertions, 0 deletions