Mailing List Archive

[MythTV/mythtv] 33ef6c: Factor out the best track calculation for selectin...
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 33ef6cce455131ac37d54caa2faeff8ca90f0078
https://github.com/MythTV/mythtv/commit/33ef6cce455131ac37d54caa2faeff8ca90f0078
Author: Paul Gardiner <mythtv@glidos.net>
Date: 2024-02-03 (Sat, 03 Feb 2024)

Changed paths:
M mythtv/libs/libmythtv/decoders/decoderbase.cpp
M mythtv/libs/libmythtv/decoders/decoderbase.h

Log Message:
-----------
Factor out the best track calculation for selecting the subtitle track

Also generalise the algorithm to allow forced tracks to be disfavored.
This is work towards improving the handling of forced tracks.


Commit: 409ad0509e8c59ceea03dabb62d7280a1eac4c87
https://github.com/MythTV/mythtv/commit/409ad0509e8c59ceea03dabb62d7280a1eac4c87
Author: Paul Gardiner <mythtv@glidos.net>
Date: 2024-02-03 (Sat, 03 Feb 2024)

Changed paths:
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp
M mythtv/libs/libmythtv/decoders/decoderbase.cpp
M mythtv/libs/libmythtv/decoders/decoderbase.h

Log Message:
-----------
Handle forced AV subtitles without needing a forced track to be selected

This improves the behaviour of mythfrontend in its automatic handling of
forced subtitle tracks. The previous behaviour relied on automatically
selecting the forced track as a default for the user's preference. The new
behaviour attempts to find a non-forced track for the user's preference and
changes the subtitle toggle feature to be between forced and non-forced,
rather than on and off.


Commit: a2c87dd3ca13bdf52b23e974fd12454eeda19453
https://github.com/MythTV/mythtv/commit/a2c87dd3ca13bdf52b23e974fd12454eeda19453
Author: Paul Gardiner <mythtv@glidos.net>
Date: 2024-02-03 (Sat, 03 Feb 2024)

Changed paths:
M mythtv/libs/libmythtv/captions/subtitlereader.cpp
M mythtv/libs/libmythtv/captions/subtitlereader.h
M mythtv/libs/libmythtv/captions/textsubtitleparser.cpp
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp

Log Message:
-----------
Avoid displaying two AV subtitle tracks simultaneously

Recent changes to the handling of forced AV subtitle tracks require that
two tracks may be considered for processing simultaneously. This happens
if there is a forced track and a user enabled one. This commit ensures
that the user enabled one inhibits the forced one.


Commit: 965755012d4f5100d2bbf21144824e7089c0d088
https://github.com/MythTV/mythtv/commit/965755012d4f5100d2bbf21144824e7089c0d088
Author: Paul Gardiner <mythtv@glidos.net>
Date: 2024-02-03 (Sat, 03 Feb 2024)

Changed paths:
M mythtv/libs/libmythtv/decoders/decoderbase.cpp
M mythtv/libs/libmythtv/mythplayer.h

Log Message:
-----------
Remove condition ForcedSubtitlesFavored in best track selection

The effect of this condition was to inhibit selection of a forced track
if the global setting "Always Display Subtitles" was on. Doing so is not
desirable, and is no longer necessary, since the new way of handling
forced tracks doesn't interact unfavorably with full tracks.


Commit: e30754734f137a480e7422716453ad386ce45c8c
https://github.com/MythTV/mythtv/commit/e30754734f137a480e7422716453ad386ce45c8c
Author: Paul Gardiner <mythtv@glidos.net>
Date: 2024-02-03 (Sat, 03 Feb 2024)

Changed paths:
M mythtv/libs/libmythtv/decoders/avformatdecoder.cpp

Log Message:
-----------
Avoid unintuitive behaviour when the user selects a forced subtitle track

By default, TOGGLECC toggles between displaying the user's selected track
and the forced track (if present). If the user selects a forced track, that
behaviour can make TOGGLECC look like it does nothing. This commit special
cases that scenario, allowing TOGGLECC to toggle between on and off for
the user selected track.


Commit: c7c26bb29781c21cbdfbb12a082fc8ba4a6337e6
https://github.com/MythTV/mythtv/commit/c7c26bb29781c21cbdfbb12a082fc8ba4a6337e6
Author: Paul Gardiner <mythtv@glidos.net>
Date: 2024-02-03 (Sat, 03 Feb 2024)

Changed paths:
M mythtv/libs/libmythtv/decoders/decoderbase.cpp
M mythtv/libs/libmythtv/decoders/decoderbase.h

Log Message:
-----------
Attempt to match forced track language to that of the selected main track


Compare: https://github.com/MythTV/mythtv/compare/15652654c698...c7c26bb29781
_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits