ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 5527] Adding arbitrary value to x-axis RTP player

Date: Mon, 27 Dec 2010 13:06:18 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5527

--- Comment #2 from Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx> 2010-12-27 14:06:17 MST ---
Initial notes from looking through the source code:

Line 1369 (r35192) of gtk/rtp-player.c:

g_snprintf(label_string, MAX_TIME_LABEL, "%.0f", floor(rci->start_time/1000) +
i*MULT/SAMPLE_RATE);

rci is a rtp_channel_info_t struct

rci->start_time is assigned at the beginning of the conversation with
nstime_to_msec(&pinfo->fd->rel_ts)

#define MULT 80

#define SAMPLE_RATE  (8000)

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.