git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6ded94
)
rtmpproto: Send chunk size on the network channel
author
Martin Storsjö
<martin@martin.st>
Thu, 13 Oct 2016 13:17:11 +0000
(16:17 +0300)
committer
Martin Storsjö
<martin@martin.st>
Fri, 14 Oct 2016 20:11:15 +0000
(23:11 +0300)
This makes sure that e.g. Adobe FME actually reacts to it. As long
as the value we've been sending is the default one (128), the bug
hasn't been noticed.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
8817744
..
4107b46
100644
(file)
--- a/
libavformat/rtmpproto.c
+++ b/
libavformat/rtmpproto.c
@@
-492,7
+492,7
@@
static int read_connect(URLContext *s, RTMPContext *rt)
return ret;
// Chunk size
- if ((ret = ff_rtmp_packet_create(&pkt, RTMP_
SYSTEM
_CHANNEL,
+ if ((ret = ff_rtmp_packet_create(&pkt, RTMP_
NETWORK
_CHANNEL,
RTMP_PT_CHUNK_SIZE, 0, 4)) < 0)
return ret;