RTP: align MTU correctly for L24 (fixes #10269)
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 30 Dec 2013 18:23:33 +0000 (20:23 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sat, 8 Feb 2014 16:06:16 +0000 (17:06 +0100)
(cherry picked from commit 82e069368b1249d10c899e77013b8d0a456262ea)
Signed-off-by: Felix Paul Kühne <fkuehne@videolan.org>
modules/stream_out/rtp.c

index 5a8c9d5..08f8a6f 100644 (file)
@@ -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;
     }