rtph265pay: Define and use FU_A_TYPE_ID
Align with rtph264pay
This commit is contained in:
parent
a6d50889af
commit
b841fd4c8a
@ -35,6 +35,8 @@
|
|||||||
#include "gstrtph265pay.h"
|
#include "gstrtph265pay.h"
|
||||||
#include "gstrtputils.h"
|
#include "gstrtputils.h"
|
||||||
|
|
||||||
|
#define FU_TYPE_ID 49
|
||||||
|
|
||||||
GST_DEBUG_CATEGORY_STATIC (rtph265pay_debug);
|
GST_DEBUG_CATEGORY_STATIC (rtph265pay_debug);
|
||||||
#define GST_CAT_DEFAULT (rtph265pay_debug)
|
#define GST_CAT_DEFAULT (rtph265pay_debug)
|
||||||
|
|
||||||
@ -1063,8 +1065,8 @@ gst_rtp_h265_pay_payload_nal (GstRTPBasePayload * basepayload,
|
|||||||
end = 1;
|
end = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* PayloadHdr (type = 49) */
|
/* PayloadHdr (type = FU_TYPE_ID (49)) */
|
||||||
payload[0] = (nal_header[0] & 0x81) | (49 << 1);
|
payload[0] = (nal_header[0] & 0x81) | (FU_TYPE_ID << 1);
|
||||||
payload[1] = nal_header[1];
|
payload[1] = nal_header[1];
|
||||||
|
|
||||||
/* If it's the last fragment and the end of this au, mark the end of
|
/* If it's the last fragment and the end of this au, mark the end of
|
||||||
|
Loading…
x
Reference in New Issue
Block a user