RTP output: add audio/L24 (untested)
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 4 Jan 2011 22:23:05 +0000 (00:23 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 4 Jan 2011 22:23:36 +0000 (00:23 +0200)
modules/stream_out/rtpfmt.c

index 05417ba..68dea4b 100644 (file)
@@ -238,6 +238,10 @@ int rtp_get_fmt( vlc_object_t *obj, es_format_t *p_fmt, const char *mux,
             rtp_fmt->ptname = "L8";
             rtp_fmt->pf_packetize = rtp_packetize_split;
             break;
+        case VLC_CODEC_S24B:
+            rtp_fmt->ptname = "L24";
+            rtp_fmt->pf_packetize = rtp_packetize_split;
+            break;
         case VLC_CODEC_MPGA:
             rtp_fmt->payload_type = 14;
             rtp_fmt->ptname = "MPA";