summaryrefslogtreecommitdiff
path: root/ui/rtp_media.h
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2016-02-10 15:01:02 +0100
committerPascal Quantin <pascal.quantin@gmail.com>2016-02-10 20:26:21 +0000
commit8186ab3d9f8054478e99f5e707ddf798809a96ee (patch)
tree87127653cd4abb5846a1137ef35ffe280c3f65fb /ui/rtp_media.h
parentdae11790e72d56e15136ff0b5902cd7577d6add4 (diff)
downloadwireshark-8186ab3d9f8054478e99f5e707ddf798809a96ee.tar.gz
Qt: fix jitter buffer management
Small bugs were introduced when copy/pasting the code from GTK UI: - arrive_offset is stored in seconds and not milliseconds - some tests regarding the current playback mode were wrong Change-Id: I21fb82ba8ff6c8defa7df90c815c040e9e074aaa Reviewed-on: https://code.wireshark.org/review/13885 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'ui/rtp_media.h')
-rw-r--r--ui/rtp_media.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/rtp_media.h b/ui/rtp_media.h
index 5432091805..222be304b9 100644
--- a/ui/rtp_media.h
+++ b/ui/rtp_media.h
@@ -50,7 +50,7 @@ typedef gint16 SAMPLE;
typedef struct _rtp_packet {
guint32 frame_num; /* Qt only */
struct _rtp_info *info; /* the RTP dissected info */
- double arrive_offset; /* arrive offset time since the beginning of the stream in ms */
+ double arrive_offset; /* arrive offset time since the beginning of the stream as ms in GTK UI and s in Qt UI */
guint8* payload_data;
} rtp_packet_t;