diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-02-14 11:15:36 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-02-14 11:17:31 +0100 |
commit | a8497509cc30ad76ed0e7bc780258d33c424b4cc (patch) | |
tree | 28f96ec73422827198a558be5cc9a5c8c71a5280 /data/shortcuts.ui | |
parent | 25e6ed55ba42e3269deca6d2df1f5935a69fded4 (diff) | |
download | totem-a8497509cc30ad76ed0e7bc780258d33c424b4cc.tar.gz |
backend: Fix "None" subtitle not selected when opening file
When opening a file, the GST_PLAY_FLAG_TEXT flag is set because we
want to be able to show a default subtitle track if any is selected.
But that means that bacon_video_widget_get_subtitle() will return
-1 (automatic) instead of -2 (none).
Check whether we have a single subtitle track (which must be "none") and
claim it was selected when checking the current subtitle.
Diffstat (limited to 'data/shortcuts.ui')
0 files changed, 0 insertions, 0 deletions