projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6d5088
)
rtph265pay: Define and use FU_A_TYPE_ID
author
Olivier CrĂȘte
<olivier.crete@collabora.com>
Thu, 13 Jun 2019 20:14:31 +0000
(16:14 -0400)
committer
Nicolas Dufresne
<nicolas@ndufresne.ca>
Wed, 3 Jul 2019 19:05:29 +0000
(19:05 +0000)
Align with rtph264pay
gst/rtp/gstrtph265pay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtph265pay.c
b/gst/rtp/gstrtph265pay.c
index
8e85c69
..
0ef9e57
100644
(file)
--- a/
gst/rtp/gstrtph265pay.c
+++ b/
gst/rtp/gstrtph265pay.c
@@
-35,6
+35,8
@@
#include "gstrtph265pay.h"
#include "gstrtputils.h"
+#define FU_TYPE_ID 49
+
GST_DEBUG_CATEGORY_STATIC (rtph265pay_debug);
#define GST_CAT_DEFAULT (rtph265pay_debug)
@@
-1063,8
+1065,8
@@
gst_rtp_h265_pay_payload_nal (GstRTPBasePayload * basepayload,
end = 1;
}
- /* PayloadHdr (type =
49
) */
- payload[0] = (nal_header[0] & 0x81) | (
49
<< 1);
+ /* PayloadHdr (type =
FU_TYPE_ID (49)
) */
+ payload[0] = (nal_header[0] & 0x81) | (
FU_TYPE_ID
<< 1);
payload[1] = nal_header[1];
/* If it's the last fragment and the end of this au, mark the end of