This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit de5667b015fef60a4e8f441e854a3a7ed979aba4
Author:     James Almer <[email protected]>
AuthorDate: Thu Oct 29 15:36:01 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Sat Oct 31 20:38:49 2026 -0300

    fftools/ffmpeg_mux_init: select enhancement streams if they are alone
    
    In that scenario, it's better than not choosing anything at all.
    This is needed for the following changes.
    
    Signed-off-by: James Almer <[email protected]>
---
 fftools/ffmpeg_mux_init.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index ec0d06b691..15b436cc56 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -1752,7 +1752,8 @@ static int map_auto_video(Muxer *mux, const 
OptionsContext *o)
 
             if (ist->user_set_discard == AVDISCARD_ALL ||
                 ist->st->codecpar->codec_type != AVMEDIA_TYPE_VIDEO ||
-                (desc && (desc->props & AV_CODEC_PROP_ENHANCEMENT)))
+                (desc && (ifile->nb_streams > 1 || nb_input_files > 1) &&
+                 (desc->props & AV_CODEC_PROP_ENHANCEMENT)))
                 continue;
 
             score = ist->st->codecpar->width * 
(int64_t)ist->st->codecpar->height

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to