mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 11:36:52 +00:00
correctly handle pid change in comformity mode
This commit is contained in:
parent
ae09795607
commit
dab77defed
@ -1391,11 +1391,9 @@ static int setup_session(struct oscon *con, int newtrans)
|
|||||||
|
|
||||||
if (!str)
|
if (!str)
|
||||||
return -500;
|
return -500;
|
||||||
if (conform) {
|
if (conform && (str->session != sess) && merge_pids(sp, p))
|
||||||
if (str->session != sess && merge_pids(sp, p) < 0)
|
|
||||||
return -455;
|
return -455;
|
||||||
} else
|
merge_pids(sp, p);
|
||||||
merge_pids(sp, p);
|
|
||||||
if (str->session == sess) { /* stream owner */
|
if (str->session == sess) { /* stream owner */
|
||||||
merge_params(sp, p);
|
merge_params(sp, p);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user