Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Cleanup the applehttp

2019-04-15 Thread myp...@gmail.com
On Mon, Apr 15, 2019 at 11:02 PM Carl Eugen Hoyos  wrote:
>
> 2019-04-12 13:20 GMT+02:00, Jun Zhao :
> > From: Jun Zhao 
> >
> > Cleanup the applehttp as demuxer name, when use the command :
> >
> > ffmpeg -formats, get the confused information like:
> > "
> >  E hls Apple HTTP Live Streaming
> > D  hls,applehttp   Apple HTTP Live Streaming
> > "
> > we don't use applehttp as the demuxer/muxer name usually, so
> > cleanup the applehttp and update the documents.
> >
> > After the change, get the information from "ffmpeg -formats":
> > "
> > DE hls Apple HTTP Live Streaming
> > "
> >
> > Signed-off-by: Jun Zhao 
> > ---
> >  doc/demuxers.texi |   20 +---
> >  libavformat/hls.c |4 ++--
> >  2 files changed, 11 insertions(+), 13 deletions(-)
>
> > diff --git a/libavformat/hls.c b/libavformat/hls.c
> > index f4e4498..1b61b4b 100644
> > --- a/libavformat/hls.c
> > +++ b/libavformat/hls.c
> > @@ -2318,14 +2318,14 @@ static const AVOption hls_options[] = {
> >  };
> >
> >  static const AVClass hls_class = {
> > -.class_name = "hls,applehttp",
> > +.class_name = "hls demuxer",
> >  .item_name  = av_default_item_name,
> >  .option = hls_options,
> >  .version= LIBAVUTIL_VERSION_INT,
> >  };
> >
> >  AVInputFormat ff_hls_demuxer = {
> > -.name   = "hls,applehttp",
> > +.name   = "hls",
>
> This needs an entry in apichanges (which is impossible because
> there was no minor version bump) iirc, I suggest you add an
> entry to Changelog.
>
> Carl Eugen
Will add an entry to APIChange, Thanks the remind. I didn't even
realize this is a API change problem before this comment. sadly.
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Cleanup the applehttp

2019-04-15 Thread Carl Eugen Hoyos
2019-04-12 13:20 GMT+02:00, Jun Zhao :
> From: Jun Zhao 
>
> Cleanup the applehttp as demuxer name, when use the command :
>
> ffmpeg -formats, get the confused information like:
> "
>  E hls Apple HTTP Live Streaming
> D  hls,applehttp   Apple HTTP Live Streaming
> "
> we don't use applehttp as the demuxer/muxer name usually, so
> cleanup the applehttp and update the documents.
>
> After the change, get the information from "ffmpeg -formats":
> "
> DE hls Apple HTTP Live Streaming
> "
>
> Signed-off-by: Jun Zhao 
> ---
>  doc/demuxers.texi |   20 +---
>  libavformat/hls.c |4 ++--
>  2 files changed, 11 insertions(+), 13 deletions(-)

> diff --git a/libavformat/hls.c b/libavformat/hls.c
> index f4e4498..1b61b4b 100644
> --- a/libavformat/hls.c
> +++ b/libavformat/hls.c
> @@ -2318,14 +2318,14 @@ static const AVOption hls_options[] = {
>  };
>
>  static const AVClass hls_class = {
> -.class_name = "hls,applehttp",
> +.class_name = "hls demuxer",
>  .item_name  = av_default_item_name,
>  .option = hls_options,
>  .version= LIBAVUTIL_VERSION_INT,
>  };
>
>  AVInputFormat ff_hls_demuxer = {
> -.name   = "hls,applehttp",
> +.name   = "hls",

This needs an entry in apichanges (which is impossible because
there was no minor version bump) iirc, I suggest you add an
entry to Changelog.

Carl Eugen
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Cleanup the applehttp

2019-04-14 Thread myp...@gmail.com
On Fri, Apr 12, 2019 at 10:08 PM Steven Liu  wrote:
>
>
>
> > 在 2019年4月12日,19:20,Jun Zhao  写道:
> >
> > From: Jun Zhao 
> >
> > Cleanup the applehttp as demuxer name, when use the command :
> >
> > ffmpeg -formats, get the confused information like:
> > "
> > E hls Apple HTTP Live Streaming
> > D  hls,applehttp   Apple HTTP Live Streaming
> > "
> > we don't use applehttp as the demuxer/muxer name usually, so
> > cleanup the applehttp and update the documents.
> >
> > After the change, get the information from "ffmpeg -formats":
> > "
> > DE hls Apple HTTP Live Streaming
> > "
> >
> > Signed-off-by: Jun Zhao 
> > ---
> > doc/demuxers.texi |   20 +---
> > libavformat/hls.c |4 ++--
> > 2 files changed, 11 insertions(+), 13 deletions(-)
> >
> > diff --git a/doc/demuxers.texi b/doc/demuxers.texi
> > index 2b0b37b..57d1532 100644
> > --- a/doc/demuxers.texi
> > +++ b/doc/demuxers.texi
> > @@ -25,17 +25,6 @@ Audible Format 2, 3, and 4 demuxer.
> >
> > This demuxer is used to demux Audible Format 2, 3, and 4 (.aa) files.
> >
> > -@section applehttp
> > -
> > -Apple HTTP Live Streaming demuxer.
> > -
> > -This demuxer presents all AVStreams from all variant streams.
> > -The id field is set to the bitrate variant index number. By setting
> > -the discard flags on AVStreams (by pressing 'a' or 'v' in ffplay),
> > -the caller can decide which variant streams to actually receive.
> > -The total bitrate of the variant that the stream belongs to is
> > -available in a metadata key named "variant_bitrate".
> > -
> > @section apng
> >
> > Animated Portable Network Graphics demuxer.
> > @@ -320,6 +309,15 @@ infinitely.
> >
> > HLS demuxer
> >
> > +Apple HTTP Live Streaming demuxer.
> > +
> > +This demuxer presents all AVStreams from all variant streams.
> > +The id field is set to the bitrate variant index number. By setting
> > +the discard flags on AVStreams (by pressing 'a' or 'v' in ffplay),
> > +the caller can decide which variant streams to actually receive.
> > +The total bitrate of the variant that the stream belongs to is
> > +available in a metadata key named "variant_bitrate".
> > +
> > It accepts the following options:
> >
> > @table @option
> > diff --git a/libavformat/hls.c b/libavformat/hls.c
> > index f4e4498..1b61b4b 100644
> > --- a/libavformat/hls.c
> > +++ b/libavformat/hls.c
> > @@ -2318,14 +2318,14 @@ static const AVOption hls_options[] = {
> > };
> >
> > static const AVClass hls_class = {
> > -.class_name = "hls,applehttp",
> > +.class_name = "hls demuxer",
> > .item_name  = av_default_item_name,
> > .option = hls_options,
> > .version= LIBAVUTIL_VERSION_INT,
> > };
> >
> > AVInputFormat ff_hls_demuxer = {
> > -.name   = "hls,applehttp",
> > +.name   = "hls",
> > .long_name  = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"),
> > .priv_class = _class,
> > .priv_data_size = sizeof(HLSContext),
> > --
> > 1.7.1
Will apply, Thanks
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH V1 1/2] lavf/hls: Cleanup the applehttp

2019-04-12 Thread Steven Liu


> 在 2019年4月12日,19:20,Jun Zhao  写道:
> 
> From: Jun Zhao 
> 
> Cleanup the applehttp as demuxer name, when use the command :
> 
> ffmpeg -formats, get the confused information like:
> "
> E hls Apple HTTP Live Streaming
> D  hls,applehttp   Apple HTTP Live Streaming
> "
> we don't use applehttp as the demuxer/muxer name usually, so
> cleanup the applehttp and update the documents.
> 
> After the change, get the information from "ffmpeg -formats":
> "
> DE hls Apple HTTP Live Streaming
> "
> 
> Signed-off-by: Jun Zhao 
> ---
> doc/demuxers.texi |   20 +---
> libavformat/hls.c |4 ++--
> 2 files changed, 11 insertions(+), 13 deletions(-)
> 
> diff --git a/doc/demuxers.texi b/doc/demuxers.texi
> index 2b0b37b..57d1532 100644
> --- a/doc/demuxers.texi
> +++ b/doc/demuxers.texi
> @@ -25,17 +25,6 @@ Audible Format 2, 3, and 4 demuxer.
> 
> This demuxer is used to demux Audible Format 2, 3, and 4 (.aa) files.
> 
> -@section applehttp
> -
> -Apple HTTP Live Streaming demuxer.
> -
> -This demuxer presents all AVStreams from all variant streams.
> -The id field is set to the bitrate variant index number. By setting
> -the discard flags on AVStreams (by pressing 'a' or 'v' in ffplay),
> -the caller can decide which variant streams to actually receive.
> -The total bitrate of the variant that the stream belongs to is
> -available in a metadata key named "variant_bitrate".
> -
> @section apng
> 
> Animated Portable Network Graphics demuxer.
> @@ -320,6 +309,15 @@ infinitely.
> 
> HLS demuxer
> 
> +Apple HTTP Live Streaming demuxer.
> +
> +This demuxer presents all AVStreams from all variant streams.
> +The id field is set to the bitrate variant index number. By setting
> +the discard flags on AVStreams (by pressing 'a' or 'v' in ffplay),
> +the caller can decide which variant streams to actually receive.
> +The total bitrate of the variant that the stream belongs to is
> +available in a metadata key named "variant_bitrate".
> +
> It accepts the following options:
> 
> @table @option
> diff --git a/libavformat/hls.c b/libavformat/hls.c
> index f4e4498..1b61b4b 100644
> --- a/libavformat/hls.c
> +++ b/libavformat/hls.c
> @@ -2318,14 +2318,14 @@ static const AVOption hls_options[] = {
> };
> 
> static const AVClass hls_class = {
> -.class_name = "hls,applehttp",
> +.class_name = "hls demuxer",
> .item_name  = av_default_item_name,
> .option = hls_options,
> .version= LIBAVUTIL_VERSION_INT,
> };
> 
> AVInputFormat ff_hls_demuxer = {
> -.name   = "hls,applehttp",
> +.name   = "hls",
> .long_name  = NULL_IF_CONFIG_SMALL("Apple HTTP Live Streaming"),
> .priv_class = _class,
> .priv_data_size = sizeof(HLSContext),
> -- 
> 1.7.1
> 
> ___
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
LGTM

Thanks
Steven





___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".