mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-19 13:50:58 +00:00
Merge commit 'a490391157dcf4dc6b65352ec3eea2781dd0a404'
* commit 'a490391157dcf4dc6b65352ec3eea2781dd0a404':
rtmpproto: Ignore errors from the getStreamLength method
Conflicts:
libavformat/rtmpproto.c
See: 09711545f5
Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
513d57cc4d
@ -1822,10 +1822,8 @@ 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;
|
||||
} else if (tracked_method && !strcmp(tracked_method, "getStreamLength")) {
|
||||
level = rt->live ? AV_LOG_DEBUG : AV_LOG_WARNING;
|
||||
ret = 0;
|
||||
} else if (tracked_method && !strcmp(tracked_method, "connect")) {
|
||||
ret = handle_connect_error(s, tmpstr);
|
||||
|
Loading…
Reference in New Issue
Block a user