Changeset 7143

Show
Ignore:
Timestamp:
02/07/10 00:05:03 (7 months ago)
Author:
metamorph68
Message:

Reset ogg encoder only if icy_metadata = false

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/liquidsoap/src/outputs/icecast2.ml

    r7142 r7143  
    354354              () 
    355355     end ; 
    356     (* Now send the remaining data.. *) 
    357     if ogg then 
     356    (* Now send the remaining data..  
     357     * We reset the ogg encoder only if 
     358     * icy_metadata = false. This allows  
     359     * the use of icy.update_metadata in order 
     360     * to have custom metadata updates. *) 
     361    if ogg && (not icy_metadata) then 
    358362      (Utils.get_some encoder).Encoder.reset m  
    359363    else ""