projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
db0471c
)
avformat/rtmpproto: Do not fail when the length cannot be determined for live streams
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 3 Nov 2014 23:35:32 +0000
(
00:35
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 3 Nov 2014 23:35:32 +0000
(
00:35
+0100)
Fixes Ticket4071
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rtmpproto.c
patch
|
blob
|
history
diff --git
a/libavformat/rtmpproto.c
b/libavformat/rtmpproto.c
index
72d6341
..
b11c883
100644
(file)
--- a/
libavformat/rtmpproto.c
+++ b/
libavformat/rtmpproto.c
@@
-1822,6
+1822,11
@@
static int handle_invoke_error(URLContext *s, RTMPPacket *pkt)
/* Gracefully ignore Adobe-specific historical artifact errors. */
level = AV_LOG_WARNING;
ret = 0;
+ } else if (rt->live &&
+ tracked_method &&
+ !strcmp(tracked_method, "getStreamLength")) {
+ level = AV_LOG_DEBUG;
+ ret = 0;
} else if (tracked_method && !strcmp(tracked_method, "connect")) {
ret = handle_connect_error(s, tmpstr);
if (!ret) {