* [FFmpeg-devel] Graphprint Patches Reminder #2
@ 2025-05-26 7:19 softworkz .
2025-05-27 1:48 ` Ramiro Polla
0 siblings, 1 reply; 4+ messages in thread
From: softworkz . @ 2025-05-26 7:19 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Hi,
if there are no objections, I would apply the patches below tomorrow evening.
Please let me know when you need more time or you have any concerns.
Note: The last one has been updated (v4) to always keep .ptx files (as requested
by Timo Rothenpieler).
Thanks
sw
[2/3] ffbuild: correctly silence and tag new css/html steps
[3/3] fftools/resources: add missing extensions to .gitignore
[1/5] fftools/makefile: Remove resources from ffprobe
[2/5] fftools/resources: Use .SECONDARY in Makefile comment
[3/5] fftools/ffmpeg: Free print_graph option variables
[4/5] fftools/graphprint: Fix memory leaks
[5/5] fftools/tf_mermaid: Add missing uninit and fix leaks
[v4] ffbuild/commonmak: Fix rebuild check with implicit rule chains
Links
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=14528
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=14563
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=14570
_______________________________________________
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] 4+ messages in thread
* Re: [FFmpeg-devel] Graphprint Patches Reminder #2
2025-05-26 7:19 [FFmpeg-devel] Graphprint Patches Reminder #2 softworkz .
@ 2025-05-27 1:48 ` Ramiro Polla
2025-05-27 2:02 ` softworkz .
2025-05-27 2:56 ` softworkz .
0 siblings, 2 replies; 4+ messages in thread
From: Ramiro Polla @ 2025-05-27 1:48 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Hi,
On Mon, May 26, 2025 at 9:19 AM softworkz .
<softworkz-at-hotmail.com@ffmpeg.org> wrote:
> if there are no objections, I would apply the patches below tomorrow evening.
> Please let me know when you need more time or you have any concerns.
>
> Note: The last one has been updated (v4) to always keep .ptx files (as requested
> by Timo Rothenpieler).
>
> Thanks
> sw
> [2/3] ffbuild: correctly silence and tag new css/html steps
> [1/5] fftools/makefile: Remove resources from ffprobe
> [3/5] fftools/ffmpeg: Free print_graph option variables
> [4/5] fftools/graphprint: Fix memory leaks
> [5/5] fftools/tf_mermaid: Add missing uninit and fix leaks
The patches above should be ok to apply.
I just sent a new patchset to fix things a bit differently from the
patches below. Could you please test them?
> [3/3] fftools/resources: add missing extensions to .gitignore
> [2/5] fftools/resources: Use .SECONDARY in Makefile comment
> [v4] ffbuild/commonmak: Fix rebuild check with implicit rule chains
There are a few more issues from the graphprint code:
- most (if not all) commented out code (such as code with ////, or
other parts with simpler // comments) can be removed.
- graph.css and graph.html are inconsistently indented
- in init_graphprint(), there is a repeated
strcmp(text_formatter->name, "mermaidhtml").
- I haven't looked more in depth after these issues.
Ramiro
_______________________________________________
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] 4+ messages in thread
* Re: [FFmpeg-devel] Graphprint Patches Reminder #2
2025-05-27 1:48 ` Ramiro Polla
@ 2025-05-27 2:02 ` softworkz .
2025-05-27 2:56 ` softworkz .
1 sibling, 0 replies; 4+ messages in thread
From: softworkz . @ 2025-05-27 2:02 UTC (permalink / raw)
To: FFmpeg development discussions and patches
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Ramiro Polla
> Sent: Dienstag, 27. Mai 2025 03:48
> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
> Subject: Re: [FFmpeg-devel] Graphprint Patches Reminder #2
>
> Hi,
>
> On Mon, May 26, 2025 at 9:19 AM softworkz .
> <softworkz-at-hotmail.com@ffmpeg.org> wrote:
> > if there are no objections, I would apply the patches below tomorrow
> evening.
> > Please let me know when you need more time or you have any concerns.
> >
> > Note: The last one has been updated (v4) to always keep .ptx files (as
> requested
> > by Timo Rothenpieler).
> >
> > Thanks
> > sw
>
> > [2/3] ffbuild: correctly silence and tag new css/html steps
> > [1/5] fftools/makefile: Remove resources from ffprobe
> > [3/5] fftools/ffmpeg: Free print_graph option variables
> > [4/5] fftools/graphprint: Fix memory leaks
> > [5/5] fftools/tf_mermaid: Add missing uninit and fix leaks
>
> The patches above should be ok to apply.
>
> I just sent a new patchset to fix things a bit differently from the
> patches below.
Do you know how time I've spent to get the intermediate handling right?
Means to work as per the actual way of Gnu make intermediate handling
instead of working around by keeping the files alive somehow.
I had agreed with Timo that .ptx files are kept and all other intermediates
get deleted as by design. The v4 version of my patch does that.
Thanks,
sw
_______________________________________________
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] 4+ messages in thread
* Re: [FFmpeg-devel] Graphprint Patches Reminder #2
2025-05-27 1:48 ` Ramiro Polla
2025-05-27 2:02 ` softworkz .
@ 2025-05-27 2:56 ` softworkz .
1 sibling, 0 replies; 4+ messages in thread
From: softworkz . @ 2025-05-27 2:56 UTC (permalink / raw)
To: FFmpeg development discussions and patches
> -----Original Message-----
> From: ffmpeg-devel <ffmpeg-devel-bounces@ffmpeg.org> On Behalf Of Ramiro Polla
> Sent: Dienstag, 27. Mai 2025 03:48
> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
> Subject: Re: [FFmpeg-devel] Graphprint Patches Reminder #2
>
> Hi,
>
> On Mon, May 26, 2025 at 9:19 AM softworkz .
> <softworkz-at-hotmail.com@ffmpeg.org> wrote:
> > if there are no objections, I would apply the patches below tomorrow
> evening.
> > Please let me know when you need more time or you have any concerns.
> >
> > Note: The last one has been updated (v4) to always keep .ptx files (as
> requested
> > by Timo Rothenpieler).
> >
> > Thanks
> > sw
>
> > [2/3] ffbuild: correctly silence and tag new css/html steps
> > [1/5] fftools/makefile: Remove resources from ffprobe
> > [3/5] fftools/ffmpeg: Free print_graph option variables
> > [4/5] fftools/graphprint: Fix memory leaks
> > [5/5] fftools/tf_mermaid: Add missing uninit and fix leaks
>
> The patches above should be ok to apply.
>
> I just sent a new patchset to fix things a bit differently from the
> patches below. Could you please test them?
>
> > [3/3] fftools/resources: add missing extensions to .gitignore
> > [2/5] fftools/resources: Use .SECONDARY in Makefile comment
> > [v4] ffbuild/commonmak: Fix rebuild check with implicit rule chains
>
> There are a few more issues from the graphprint code:
> - most (if not all) commented out code (such as code with ////, or
> other parts with simpler // comments) can be removed.
Some are for reconsideration after the initial check-in. There's also
something prepared for when subtitle filtering is introduced.
Some are obsolete, yes. I'll clean that up in a while.
> - graph.css and graph.html are inconsistently indented
graph.html: yes, it saved a lot of file size. Weirdly, the blanks
didn't get compressed as well as I had expected, so I've
un-indented most of the tags.
graph.css: no, that's a common way of indenting css rules.
> - in init_graphprint(), there is a repeated
> strcmp(text_formatter->name, "mermaidhtml").
It favors readability over a mem comparison over 11 bytes.
But yes, maybe there's a better way - will check.
Thanks
sw
_______________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2025-05-27 3:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-26 7:19 [FFmpeg-devel] Graphprint Patches Reminder #2 softworkz .
2025-05-27 1:48 ` Ramiro Polla
2025-05-27 2:02 ` softworkz .
2025-05-27 2:56 ` softworkz .
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