# HG changeset patch # User lu_zero # Date 1269470328 0 # Node ID acbe14fa0c74a5e7d32c99bb98d0c836c7b041d7 # Parent 61062082488b3d18cd8a602d02fd7010931ee852 Issue a warning if the received CSeq isn't the expected one diff -r 61062082488b -r acbe14fa0c74 rtsp.c --- a/rtsp.c Wed Mar 24 22:32:05 2010 +0000 +++ b/rtsp.c Wed Mar 24 22:38:48 2010 +0000 @@ -974,6 +974,11 @@ else av_free(content); + if (rt->seq != reply->seq) { + av_log(s, AV_LOG_WARNING, "CSeq %d expected, %d received.\n", + rt->seq, reply->seq); + } + /* EOS */ if (reply->notice == 2101 /* End-of-Stream Reached */ || reply->notice == 2104 /* Start-of-Stream Reached */ ||