projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153153f
)
I think carry_on_audio should also be set false if audio_packet() returns false.
author
Carl Hetherington
<cth@carlh.net>
Fri, 8 Nov 2024 18:57:04 +0000
(19:57 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 8 Nov 2024 18:57:04 +0000
(19:57 +0100)
src/lib/ffmpeg_examiner.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_examiner.cc
b/src/lib/ffmpeg_examiner.cc
index 1aeda6a2f38711a9690664a0330911a040a7eab6..5353ddd2bc79915b16e845e1bcda3e000fcc12af 100644
(file)
--- a/
src/lib/ffmpeg_examiner.cc
+++ b/
src/lib/ffmpeg_examiner.cc
@@
-159,9
+159,7
@@
FFmpegExaminer::FFmpegExaminer (shared_ptr<const FFmpegContent> c, shared_ptr<Jo
}
if (audio_stream_index) {
- if (audio_packet(context, _audio_streams[*audio_stream_index], packet)) {
- carry_on_audio[*audio_stream_index] = true;
- }
+ carry_on_audio[*audio_stream_index] = audio_packet(context, _audio_streams[*audio_stream_index], packet);
}
av_packet_free (&packet);