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

Rémi Denis-Courmont git at videolan.org
Mon Dec 30 19:24:09 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 30 20:23:33 2013 +0200| [82e069368b1249d10c899e77013b8d0a456262ea] | committer: Rémi Denis-Courmont

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82e069368b1249d10c899e77013b8d0a456262ea
---

 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 1aa868b..0cd806e 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -1155,6 +1155,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