[vlc-commits] RTP: align MTU correctly for L24 (fixes #10269)

Rémi Denis-Courmont git at videolan.org
Sat Feb 8 17:06:44 CET 2014


vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 30 20:23:33 2013 +0200| [3e3207e1b586965e07db51f8b387d41ed70e8420] | committer: Felix Paul Kühne

RTP: align MTU correctly for L24 (fixes #10269)

(cherry picked from commit 82e069368b1249d10c899e77013b8d0a456262ea)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=3e3207e1b586965e07db51f8b387d41ed70e8420
---

 modules/stream_out/rtp.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c
index 5a8c9d5..08f8a6f 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -1164,6 +1164,9 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
         case VLC_CODEC_S16L:
             rtp_set_ptime (id, 20, 2);
             break;
+        case VLC_CODEC_S24B:
+            rtp_set_ptime (id, 20, 3);
+            break;
         default:
             break;
     }



More information about the vlc-commits mailing list