diff options
author | Jeff Morriss <jeff.morriss.ws@gmail.com> | 2016-06-17 20:41:31 -0400 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2016-06-23 03:30:39 +0000 |
commit | fea6e738bb843eea7667873b7fc3c7f35ae2b32a (patch) | |
tree | 288b2bd03056f4362f8b333aa982b19e51380845 /ui/gtk | |
parent | bcae998048190ce70ae9d0cbc05dc61e9e66c3b4 (diff) |
RTP player: increase the maximum number of silence frames to 30 minutes worth.
The BadAlloc X11 crash I reported in bug 4119 (which is why the limit was as
low as it was) has long since been fixed thanks to
bug 2630/I71e1bd2f9a62792db06ce887e2bbe7a96d110e0a so we can now deal with
more silence frames.
Change-Id: I0127381e71e497560e0f23af04f9d96af1ed6335
Ping-Bug: 5902
Ping-Bug: 4119
Ping-Bug: 2270
Reviewed-on: https://code.wireshark.org/review/16003
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'ui/gtk')
-rw-r--r-- | ui/gtk/rtp_player.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/gtk/rtp_player.c b/ui/gtk/rtp_player.c index bcbd2c9f41..178e9f8a35 100644 --- a/ui/gtk/rtp_player.c +++ b/ui/gtk/rtp_player.c @@ -641,7 +641,6 @@ decode_rtp_stream(rtp_stream_info_t *rsi, gpointer ptr) /* Fix for bug 4119/5902: don't insert too many silence frames. * XXX - is there a better thing to do here? */ -#define MAX_SILENCE_FRAMES 240000 if (silence_frames > MAX_SILENCE_FRAMES) silence_frames = MAX_SILENCE_FRAMES; |