[Pkg-voip-commits] [janus] 258/282: Make sure the Opus file is flushed when postprocessing
Jonas Smedegaard
dr at jones.dk
Wed Dec 20 21:53:47 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to annotated tag debian/0.2.6-1
in repository janus.
commit 2963732a4ff2fb5a0586d713045559339c411d38
Author: Lorenzo Miniero <lminiero at gmail.com>
Date: Wed Dec 13 16:48:05 2017 +0100
Make sure the Opus file is flushed when postprocessing
---
postprocessing/pp-opus.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/postprocessing/pp-opus.c b/postprocessing/pp-opus.c
index d2441a5..3685bbe 100644
--- a/postprocessing/pp-opus.c
+++ b/postprocessing/pp-opus.c
@@ -92,6 +92,7 @@ int janus_pp_opus_process(FILE *file, janus_pp_frame_packet *list, int *working)
ogg_stream_packetin(stream, op);
ogg_write();
}
+ ogg_flush();
g_free(op);
}
if(tmp->drop) {
@@ -123,6 +124,7 @@ int janus_pp_opus_process(FILE *file, janus_pp_frame_packet *list, int *working)
ogg_stream_packetin(stream, op);
g_free(op);
ogg_write();
+ ogg_flush();
tmp = tmp->next;
}
g_free(buffer);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/janus.git
More information about the Pkg-voip-commits
mailing list