mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 12:36:58 +00:00
Make alsa/oss ignore VIDUPDATE control frames
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6799 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -747,6 +747,9 @@ static int alsa_indicate(struct ast_channel *chan, int cond)
|
|||||||
case -1:
|
case -1:
|
||||||
res = -1;
|
res = -1;
|
||||||
break;
|
break;
|
||||||
|
case AST_CONTROL_VIDUPDATE:
|
||||||
|
res = -1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ast_log(LOG_WARNING, "Don't know how to display condition %d on %s\n", cond, chan->name);
|
ast_log(LOG_WARNING, "Don't know how to display condition %d on %s\n", cond, chan->name);
|
||||||
res = -1;
|
res = -1;
|
||||||
|
@@ -847,6 +847,9 @@ static int oss_indicate(struct ast_channel *c, int cond)
|
|||||||
o->cursound = -1;
|
o->cursound = -1;
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
case AST_CONTROL_VIDUPDATE:
|
||||||
|
res = -1;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ast_log(LOG_WARNING,
|
ast_log(LOG_WARNING,
|
||||||
"Don't know how to display condition %d on %s\n",
|
"Don't know how to display condition %d on %s\n",
|
||||||
|
Reference in New Issue
Block a user