mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
a2dp: set marker bit on AAC header
This commit is contained in:
parent
b874362c8e
commit
4292e8fe7e
1 changed files with 4 additions and 0 deletions
|
|
@ -442,6 +442,10 @@ static int codec_encode(void *data,
|
||||||
*dst_out = out_args.numOutBytes;
|
*dst_out = out_args.numOutBytes;
|
||||||
*need_flush = 1;
|
*need_flush = 1;
|
||||||
|
|
||||||
|
/* RFC6416: It is set to 1 to indicate that the RTP packet contains a complete
|
||||||
|
* audioMuxElement or the last fragment of an audioMuxElement */
|
||||||
|
this->header->m = 1;
|
||||||
|
|
||||||
return out_args.numInSamples * this->samplesize;
|
return out_args.numInSamples * this->samplesize;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue