aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/rtp_player_dialog.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-10-20 08:31:52 -0700
committerGerald Combs <gerald@wireshark.org>2015-10-21 17:52:15 +0000
commit8682eb49ef9e865be114ac57525628527bad1bd6 (patch)
treeca29ce58ee792b2b0b01b32ed8d858c9c58624e2 /ui/qt/rtp_player_dialog.h
parented27dad41eb2085fa2afb51c6a66a89bd1c64ad4 (diff)
Split RTP player tapping, decoding, and plotting.
In RtpAudioStream split tapping+decoding into separate member functions. Store RTP payloads in memory. In RtpPlayerDialog split tapping+plotting. This more closely resembles what we're doing in the GTK+ UI and paves the way for jitter support and other changes. Change-Id: I244c225cec8930545622e6582b7be35ebe45b237 Reviewed-on: https://code.wireshark.org/review/11195 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/rtp_player_dialog.h')
-rw-r--r--ui/qt/rtp_player_dialog.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/ui/qt/rtp_player_dialog.h b/ui/qt/rtp_player_dialog.h
index 4d004b860a..9cb8ed5b9e 100644
--- a/ui/qt/rtp_player_dialog.h
+++ b/ui/qt/rtp_player_dialog.h
@@ -79,9 +79,12 @@ protected:
private slots:
/** Retap the capture file, adding RTP packets that match the
- * streams added using ::addRtpStream and display the dialog.
+ * streams added using ::addRtpStream.
*/
- void retapPackets(bool rescale_axes = true);
+ void retapPackets();
+ /** Clear, decode, and redraw each stream.
+ */
+ void rescanPackets(bool rescale_axes = true);
void updateWidgets();
void graphClicked(QMouseEvent *event);
void mouseMoved(QMouseEvent *);