aboutsummaryrefslogtreecommitdiffstats
path: root/ui/tap-rtp-common.c
diff options
context:
space:
mode:
authorJirka Novak <j.novak@netsystem.cz>2020-01-02 00:38:35 +0100
committerAnders Broman <a.broman58@gmail.com>2020-01-07 09:38:14 +0000
commit71fb8bebfe6b8f76ccfa48ec3cc598e0ddef14ba (patch)
tree8a227fbd4484e183cc2682e0075b787a662b61cc /ui/tap-rtp-common.c
parentc1f5b4d2d91d7a1113d0206237fff55669b87727 (diff)
rtp_player: Player is able to set start of audio play by double click
Patch adds ability to set start of audio play by double clicking on waveform. Patch fixes unreported issue with placing waveform at incorrect place when switched relative/absolute time mode (check/uncheck Time of Day). Change-Id: Ib8ce24aea870e2443e033afbb6d6e9fbcf222431 Reviewed-on: https://code.wireshark.org/review/35621 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/tap-rtp-common.c')
-rw-r--r--ui/tap-rtp-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/tap-rtp-common.c b/ui/tap-rtp-common.c
index 175592d7f6..613f8c5b1b 100644
--- a/ui/tap-rtp-common.c
+++ b/ui/tap-rtp-common.c
@@ -396,6 +396,7 @@ tap_packet_status rtpstream_packet_cb(void *arg, packet_info *pinfo, epan_dissec
if (!stream_info) {
new_stream_info.start_fd = pinfo->fd;
new_stream_info.start_rel_time = pinfo->rel_ts;
+ new_stream_info.start_abs_time = pinfo->abs_ts;
new_stream_info.first_payload_type = rtpinfo->info_payload_type;
new_stream_info.first_payload_type_name = rtpinfo->info_payload_type_str;