[FFmpeg-devel] [PATCH] avformat/hlsenc: set default http method to PUT when method is null

Steven Liu lingjiujianke at gmail.com
Thu Feb 16 02:41:54 EET 2017


2017-02-16 4:59 GMT+08:00 Moritz Barsnick <barsnick at gmx.net>:

> On Wed, Feb 15, 2017 at 23:45:49 +0800, Steven Liu wrote:
> > +        proto = avio_find_protocol_name(hls->basename);
> > +        if (hls->method || (proto && !av_strcasecmp(proto, "http"))) {
>
> Would this also need to apply to https? (I'm not sure whether those
> protocols are distinguished.)
>
have add to patch.


>
> > +        av_log(c, AV_LOG_WARNING, "You forget set http method, hls
> muxer auto set default method to PUT\n");
>
> "No HTTP method set, hls muxer defaulting to method PUT.\n"
>

> (If you actually want to keep the original sentence: "You forget to set
> http method, hls muxer automatically set default method to PUT\n". I
> would avoid the use of "you"...)
>
merge  to patch.

>
> Moritz
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list