Merge "apps/app_echo: Only relay a single video source change frame" into 13

This commit is contained in:
zuul
2016-11-16 15:06:23 -06:00
committed by Gerrit Code Review

View File

@@ -68,7 +68,8 @@ static int echo_exec(struct ast_channel *chan, const char *data)
f->delivery.tv_sec = 0;
f->delivery.tv_usec = 0;
if (f->frametype == AST_FRAME_CONTROL
&& f->subclass.integer == AST_CONTROL_VIDUPDATE) {
&& f->subclass.integer == AST_CONTROL_VIDUPDATE
&& !fir_sent) {
if (ast_write(chan, f) < 0) {
ast_frfree(f);
goto end;