aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/rtp_stream_dlg.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-11-05 12:15:37 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-11-05 12:15:37 +0000
commit6d107d40e0dfff5309b0e402aff3d323d2747510 (patch)
treefc3aae63a7b1d791b26c50819d8cff5be1cd1cfb /ui/gtk/rtp_stream_dlg.c
parenta6b7e3fba56b579725b81fcf973939553c9cb55a (diff)
From Michal Labedzki:
If we have strinfo->info_payload_type_str use that othewise use the value string for known PT:s Part of https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7893 svn path=/trunk/; revision=45924
Diffstat (limited to 'ui/gtk/rtp_stream_dlg.c')
-rw-r--r--ui/gtk/rtp_stream_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/rtp_stream_dlg.c b/ui/gtk/rtp_stream_dlg.c
index c46ea2da88..227056e176 100644
--- a/ui/gtk/rtp_stream_dlg.c
+++ b/ui/gtk/rtp_stream_dlg.c
@@ -690,7 +690,7 @@ add_to_list_store(rtp_stream_info_t* strinfo)
data[2] = g_strdup(get_addr_name(&(strinfo->dest_addr)));
data[3] = NULL;
data[4] = g_strdup_printf("0x%X", strinfo->ssrc);
- if ((strinfo->pt > 95) && (strinfo->info_payload_type_str != NULL)) {
+ if (strinfo->info_payload_type_str != NULL) {
data[5] = g_strdup(strinfo->info_payload_type_str);
} else {
data[5] = g_strdup(val_to_str_ext(strinfo->pt, &rtp_payload_type_short_vals_ext,