diff options
author | Evan Huus <eapache@gmail.com> | 2013-07-21 23:31:46 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2013-07-21 23:31:46 +0000 |
commit | d43eaa76cc4158fcb00e321bb3741f9cd83bc030 (patch) | |
tree | bf86f1ea19bd9551ad7d04feb73a6957146ad6af /ui/gtk/rtp_player.c | |
parent | ad42fced15f7f3157a56b6a474cd119e7d09db91 (diff) |
Update rtp_player for rel_ts move.
svn path=/trunk/; revision=50776
Diffstat (limited to 'ui/gtk/rtp_player.c')
-rw-r--r-- | ui/gtk/rtp_player.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/gtk/rtp_player.c b/ui/gtk/rtp_player.c index 39f8b8ed4c..541a7f614a 100644 --- a/ui/gtk/rtp_player.c +++ b/ui/gtk/rtp_player.c @@ -385,7 +385,7 @@ add_rtp_packet(const struct _rtp_info *rtp_info, packet_info *pinfo) stream_info->ssrc = rtp_info->info_sync_src; stream_info->rtp_packets_list = NULL; stream_info->first_frame_number = pinfo->fd->num; - stream_info->start_time = nstime_to_msec(&pinfo->fd->rel_ts); + stream_info->start_time = nstime_to_msec(&pinfo->rel_ts); stream_info->start_time_abs = pinfo->fd->abs_ts; stream_info->call_num = 0; stream_info->play = FALSE; @@ -405,7 +405,7 @@ add_rtp_packet(const struct _rtp_info *rtp_info, packet_info *pinfo) new_rtp_packet->info = (struct _rtp_info *)g_malloc(sizeof(struct _rtp_info)); memcpy(new_rtp_packet->info, rtp_info, sizeof(struct _rtp_info)); - new_rtp_packet->arrive_offset = nstime_to_msec(&pinfo->fd->rel_ts) - stream_info->start_time; + new_rtp_packet->arrive_offset = nstime_to_msec(&pinfo->rel_ts) - stream_info->start_time; /* copy the RTP payload to the rtp_packet to be decoded later */ if (rtp_info->info_all_data_present && (rtp_info->info_payload_len != 0)) { new_rtp_packet->payload_data = (guint8 *)g_malloc(rtp_info->info_payload_len); |