On Thu, Mar 2, 2017 at 2:42 AM, Vincent Luo <vincent860...@gmail.com> wrote:
> From: Vincent Luo <vincent860...@gmail.com>
>
> ---
>  ffplay.c               |  1 +
>  libavformat/avformat.h | 11 ++++++++++-
>  libavformat/rtspdec.c  |  9 +++++++++
>  libavformat/utils.c    | 12 ++++++++++++
>  4 files changed, 32 insertions(+), 1 deletion(-)
>
> diff --git a/ffplay.c b/ffplay.c
> index 79dc768..42e538b 100644
> --- a/ffplay.c
> +++ b/ffplay.c
> @@ -1178,6 +1178,7 @@ static void stream_component_close(VideoState *is, int 
> stream_index)
>
>  static void stream_close(VideoState *is)
>  {
> +    avformat_preclose_input(&is->ic); //added by vincent 20170228 for send 
> teardown before close(Fix a rtsp issue)

Why would close not send a teardown, and even if it doesn't, why can't
this be fixed without adding some new API?

- Hendrik
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to