diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-04-18 12:08:51 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-18 12:08:51 +0200 |
| commit | 44a4ff40df50688286e6db8b1fc2c024f6e5834b (patch) | |
| tree | 2611da309cdfa22530b7d4d98df2e3ff80c02bbe /src/lib/ffmpeg_decoder.cc | |
| parent | af20e21e2363f7c4d5f7031c444984f383c26914 (diff) | |
| parent | d5f5a9d9f5635f84a5e372181dea1c7cbb0ae732 (diff) | |
Merge remote-tracking branch 'origin/main' into v2.17.x
Diffstat (limited to 'src/lib/ffmpeg_decoder.cc')
| -rw-r--r-- | src/lib/ffmpeg_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_decoder.cc b/src/lib/ffmpeg_decoder.cc index 09db1ff1c..17973d000 100644 --- a/src/lib/ffmpeg_decoder.cc +++ b/src/lib/ffmpeg_decoder.cc @@ -667,11 +667,11 @@ FFmpegDecoder::decode_and_process_subtitle_packet (AVPacket* packet) */ ContentTime from; from = sub_period.from + _pts_offset; + _have_current_subtitle = true; if (sub_period.to) { _current_subtitle_to = *sub_period.to + _pts_offset; } else { _current_subtitle_to = optional<ContentTime>(); - _have_current_subtitle = true; } ContentBitmapText bitmap_text(from); |
