Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* Re: [FFmpeg-devel] [PATCH] avfilter/signalstats: add NULL_IF_CONFIG_SMALL
       [not found] <0e52a997-2d71-49a8-8faa-3f14c9e45e74@gmail.com>
@ 2025-01-22 18:31 ` Abdulrahman Saber
  2025-01-23 21:01   ` Alexander Strasser via ffmpeg-devel
  0 siblings, 1 reply; 3+ messages in thread
From: Abdulrahman Saber @ 2025-01-22 18:31 UTC (permalink / raw)
  To: ffmpeg-devel

On Tue, Jan 14, 2025 at 2:02 PM Abdulrahman Saber <abdsaber000@gmail.com> wrote:
>
> Signed-off-by: abdo <abdsaber000@gmail.com>
> ---
>   libavfilter/vf_signalstats.c | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/libavfilter/vf_signalstats.c b/libavfilter/vf_signalstats.c
> index b1451cc465..9b6af8becd 100644
> --- a/libavfilter/vf_signalstats.c
> +++ b/libavfilter/vf_signalstats.c
> @@ -20,6 +20,7 @@
>    * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
> 02110-1301 USA
>    */
>   +#include "libavutil/internal.h"
>   #include "libavutil/intreadwrite.h"
>   #include "libavutil/mem.h"
>   #include "libavutil/opt.h"
> @@ -829,7 +830,7 @@ static const AVFilterPad signalstats_outputs[] = {
>    const FFFilter ff_vf_signalstats = {
>       .p.name        = "signalstats",
> -    .p.description = "Generate statistics from video analysis.",
> +    .p.description = NULL_IF_CONFIG_SMALL("Generate statistics from
> video analysis."),
>       .p.priv_class  = &signalstats_class,
>       .p.flags       = AVFILTER_FLAG_SLICE_THREADS,
>       .init          = init,
> --
> 2.25.1
>

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] avfilter/signalstats: add NULL_IF_CONFIG_SMALL
  2025-01-22 18:31 ` [FFmpeg-devel] [PATCH] avfilter/signalstats: add NULL_IF_CONFIG_SMALL Abdulrahman Saber
@ 2025-01-23 21:01   ` Alexander Strasser via ffmpeg-devel
  2025-01-23 21:15     ` Abdulrahman Saber
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Strasser via ffmpeg-devel @ 2025-01-23 21:01 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Alexander Strasser

Hi Abdulrahman!

I fixed up and tested your patch locally and your change looks fine :)

Will include when it when I push my next batch of changes soon'ish.
Depending on how it goes it will take a couple of days from now.

For your information I will outline the broken parts inline below:

On 2025-01-22 20:31 +0200, Abdulrahman Saber wrote:
> On Tue, Jan 14, 2025 at 2:02 PM Abdulrahman Saber <abdsaber000@gmail.com> wrote:
> >
> > Signed-off-by: abdo <abdsaber000@gmail.com>
> > ---
> >   libavfilter/vf_signalstats.c | 3 ++-
> >   1 file changed, 2 insertions(+), 1 deletion(-)
> >
> > diff --git a/libavfilter/vf_signalstats.c b/libavfilter/vf_signalstats.c
> > index b1451cc465..9b6af8becd 100644
> > --- a/libavfilter/vf_signalstats.c
> > +++ b/libavfilter/vf_signalstats.c
> > @@ -20,6 +20,7 @@

> >    * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
> > 02110-1301 USA

The above line was broken into 2 in your mail.

> >    */
> >   +#include "libavutil/internal.h"
> >   #include "libavutil/intreadwrite.h"
> >   #include "libavutil/mem.h"
> >   #include "libavutil/opt.h"
> > @@ -829,7 +830,7 @@ static const AVFilterPad signalstats_outputs[] = {
> >    const FFFilter ff_vf_signalstats = {
> >       .p.name        = "signalstats",
> > -    .p.description = "Generate statistics from video analysis.",

> > +    .p.description = NULL_IF_CONFIG_SMALL("Generate statistics from
> > video analysis."),

Same here.

> >       .p.priv_class  = &signalstats_class,
> >       .p.flags       = AVFILTER_FLAG_SLICE_THREADS,
> >       .init          = init,
> > --
> > 2.25.1
> >
>
> Ping

Seems like your mail client/editor does it (automatically?) to avoid
overly long lines, which might be fine for email texts but isn't in
patches.

Hope you can find the setting for easier contribution in the future.
Another approach for single patches or small series is to attach them.
Usually mailers don't mess with attachments.


Best regards,
  Alexander
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [FFmpeg-devel] [PATCH] avfilter/signalstats: add NULL_IF_CONFIG_SMALL
  2025-01-23 21:01   ` Alexander Strasser via ffmpeg-devel
@ 2025-01-23 21:15     ` Abdulrahman Saber
  0 siblings, 0 replies; 3+ messages in thread
From: Abdulrahman Saber @ 2025-01-23 21:15 UTC (permalink / raw)
  To: FFmpeg development discussions and patches

On Thu, Jan 23, 2025 at 11:01 PM Alexander Strasser via ffmpeg-devel
<ffmpeg-devel@ffmpeg.org> wrote:
> Seems like your mail client/editor does it (automatically?) to avoid
> overly long lines, which might be fine for email texts but isn't in
> patches.
>
> Hope you can find the setting for easier contribution in the future.
> Another approach for single patches or small series is to attach them.
> Usually mailers don't mess with attachments.

Hi Alexander!

I will try to avoid these mistakes in future patches. Thanks a lot for
fixing this patch.

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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-23 21:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <0e52a997-2d71-49a8-8faa-3f14c9e45e74@gmail.com>
2025-01-22 18:31 ` [FFmpeg-devel] [PATCH] avfilter/signalstats: add NULL_IF_CONFIG_SMALL Abdulrahman Saber
2025-01-23 21:01   ` Alexander Strasser via ffmpeg-devel
2025-01-23 21:15     ` Abdulrahman Saber

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git