mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
Merge commit 'a490391157'
* commit 'a490391157': rtmpproto: Ignore errors from the getStreamLength method Conflicts: libavformat/rtmpproto.c See:09711545f5Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
513d57cc4d
1 changed files with 2 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue