mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
gdp: When calculating GDP body CRC, use the correct pointer.
Original commit message from CVS: * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event_1_0): When calculating GDP body CRC, use the correct pointer. Fixes part of #522401.
This commit is contained in:
parent
1998871b39
commit
d8942dc0db
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ gst_dp_packet_from_event_1_0 (const GstEvent * event, GstDPHeaderFlag flags,
|
|||
/* timestamp */
|
||||
GST_WRITE_UINT64_BE (h + 10, GST_EVENT_TIMESTAMP (event));
|
||||
|
||||
GST_DP_SET_CRC (h, flags, *payload, pl_length);
|
||||
GST_DP_SET_CRC (h, flags, string, pl_length);
|
||||
|
||||
GST_LOG ("created header from event:");
|
||||
gst_dp_dump_byte_array (h, GST_DP_HEADER_LENGTH);
|
||||
|
|
Loading…
Reference in a new issue