* [FFmpeg-devel] [PATCH] fate/subtitles: Ignore line endings for sub-scc test
@ 2024-02-13 13:22 Andreas Rheinhardt
2024-02-13 15:13 ` Martin Storsjö via ffmpeg-devel
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Rheinhardt @ 2024-02-13 13:22 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: Andreas Rheinhardt
Since 7bf1b9b35769b37684dd2f18a54f01d852a540c8,
the test produces ordinary \n, yet this is not what the reference
file used for the most time, leading to test failures.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
tests/fate/subtitles.mak | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak
index cea4c810dd..90412e9ac1 100644
--- a/tests/fate/subtitles.mak
+++ b/tests/fate/subtitles.mak
@@ -114,6 +114,7 @@ fate-sub-charenc: CMD = fmtstdout ass -sub_charenc cp1251 -i $(TARGET_SAMPLES)/s
FATE_SUBTITLES-$(call DEMDEC, SCC, CCAPTION) += fate-sub-scc
fate-sub-scc: CMD = fmtstdout ass -ss 57 -i $(TARGET_SAMPLES)/sub/witch.scc
+fate-sub-scc: CMP = diff
FATE_SUBTITLES-$(call DEMMUX, SCC, SCC) += fate-sub-scc-remux
fate-sub-scc-remux: CMD = fmtstdout scc -i $(TARGET_SAMPLES)/sub/witch.scc -ss 4:00 -map 0 -c copy
--
2.34.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-request@ffmpeg.org with subject "unsubscribe".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH] fate/subtitles: Ignore line endings for sub-scc test
2024-02-13 13:22 [FFmpeg-devel] [PATCH] fate/subtitles: Ignore line endings for sub-scc test Andreas Rheinhardt
@ 2024-02-13 15:13 ` Martin Storsjö via ffmpeg-devel
0 siblings, 0 replies; 2+ messages in thread
From: Martin Storsjö via ffmpeg-devel @ 2024-02-13 15:13 UTC (permalink / raw)
To: FFmpeg development discussions and patches
Cc: Martin Storsjö, Andreas Rheinhardt
On Tue, 13 Feb 2024, Andreas Rheinhardt wrote:
> Since 7bf1b9b35769b37684dd2f18a54f01d852a540c8,
> the test produces ordinary \n, yet this is not what the reference
> file used for the most time, leading to test failures.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
> tests/fate/subtitles.mak | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/tests/fate/subtitles.mak b/tests/fate/subtitles.mak
> index cea4c810dd..90412e9ac1 100644
> --- a/tests/fate/subtitles.mak
> +++ b/tests/fate/subtitles.mak
> @@ -114,6 +114,7 @@ fate-sub-charenc: CMD = fmtstdout ass -sub_charenc cp1251 -i $(TARGET_SAMPLES)/s
>
> FATE_SUBTITLES-$(call DEMDEC, SCC, CCAPTION) += fate-sub-scc
> fate-sub-scc: CMD = fmtstdout ass -ss 57 -i $(TARGET_SAMPLES)/sub/witch.scc
> +fate-sub-scc: CMP = diff
>
> FATE_SUBTITLES-$(call DEMMUX, SCC, SCC) += fate-sub-scc-remux
> fate-sub-scc-remux: CMD = fmtstdout scc -i $(TARGET_SAMPLES)/sub/witch.scc -ss 4:00 -map 0 -c copy
> --
> 2.34.1
Looks ok to me, as a temporary measure until we figure out the best way to
upgrade everybody's workdirs without needing interaction. (As an added
note to the other thread; even if we could easily patch fate.sh, every
current user's workdir is also prone to this issue, and the way of fixing
it is kinda non-obvious.)
// Martin
_______________________________________________
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] 2+ messages in thread
end of thread, other threads:[~2024-02-13 15:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 13:22 [FFmpeg-devel] [PATCH] fate/subtitles: Ignore line endings for sub-scc test Andreas Rheinhardt
2024-02-13 15:13 ` Martin Storsjö via ffmpeg-devel
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