update deprecated gstreamer syntax

This commit is contained in:
F. Duncanh
2023-01-17 16:35:06 -05:00
parent 6c837e575c
commit f0c12d363e
6 changed files with 14 additions and 11 deletions

View File

@@ -436,7 +436,7 @@ raop_rtp_mirror_thread(void *arg)
#endif
payload_decrypted = NULL;
h264_decode_struct h264_data;
h264_data.pts = ntp_timestamp;
h264_data.ntp_time = ntp_timestamp;
h264_data.nal_count = nalus_count; /*nal_count will be the number of nal units in the packet */
h264_data.data_len = payload_size;
h264_data.data = payload_out;

View File

@@ -22,7 +22,7 @@ typedef struct {
int nal_count;
unsigned char *data;
int data_len;
uint64_t pts;
uint64_t ntp_time;
} h264_decode_struct;
typedef struct {