projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20afc1d
)
Missing av_frame_unref().
author
Carl Hetherington
<cth@carlh.net>
Tue, 14 Jan 2025 21:00:40 +0000
(22:00 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 14 Jan 2025 21:00:40 +0000
(22:00 +0100)
Without this the _in_frame is never reset to good starting values
after being used.
src/lib/audio_filter_graph.cc
patch
|
blob
|
history
diff --git
a/src/lib/audio_filter_graph.cc
b/src/lib/audio_filter_graph.cc
index 55a26cdb2eac930bb3f3646ed4a204bcb5cd1ae2..4e8b7cbfe0cf2c51f2f8bedb1585d6a03b0e1a08 100644
(file)
--- a/
src/lib/audio_filter_graph.cc
+++ b/
src/lib/audio_filter_graph.cc
@@
-168,4
+168,6
@@
AudioFilterGraph::process (shared_ptr<AudioBuffers> buffers)
av_frame_unref (_frame);
}
+
+ av_frame_unref(_in_frame);
}