]> git.sesse.net Git - vlc/blobdiff - modules/stream_out/rtp.c
RTP/MPA: the standard frequency is 90kHz (MPEG PCR), oops
[vlc] / modules / stream_out / rtp.c
index d09419372e2e8967db0765a896660d12af84cea5..61b4d3ab5a69a1b6371d0f6dc5eb17f2ea624758 100644 (file)
@@ -1055,6 +1055,7 @@ static sout_stream_id_t *Add( sout_stream_t *p_stream, es_format_t *p_fmt )
         case VLC_FOURCC( 'm', 'p', '3', ' ' ):
             id->i_payload_type = 14;
             id->psz_enc = "MPA";
+            id->i_clock_rate = 90000; /* not 44100 */
             id->pf_packetize = rtp_packetize_mpa;
             break;
         case VLC_FOURCC( 'm', 'p', 'g', 'v' ):