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

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


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

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

(cherry picked from commit 82e069368b1249d10c899e77013b8d0a456262ea)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=4ef442bd86fe1bf0103bb414b16c0d92d323dd38
---

 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 62c89b7..ecac2fc 100644
--- a/modules/stream_out/rtp.c
+++ b/modules/stream_out/rtp.c
@@ -1158,6 +1158,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