Changeset 21826

Show
Ignore:
Timestamp:
26.03.2010 12:37:22 (9 years ago)
Author:
max
Message:

Allow to not create a streaming file or to use the flv or mp4 format.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video/trunk/perllib/plugins/MultimediaPlugin.pm

    r21599 r21826  
    6363    'deft' => "", 
    6464    'reqd' => "no" }, 
    65       { 'name' => "enable_flv_streaming", 
     65      { 'name' => "enable_streaming", 
    6666    'desc' => "{MultimediaPlug.enable_streaming}", 
    67     'type' => "flag", 
    68     'deft' => "1", 
    69     'reqd' => "no" }, 
    70      { 'name' => "enable_mp4_streaming", 
    71     'desc' => "{MultimediaPlug.enable_streaming}", 
    72     'type' => "flag", 
    73     'deft' => "0", 
    74     'reqd' => "no" }    ]; 
     67    'type' => "enum", 
     68    'list' => [{'name' => "disabled", 'desc' => "Do not create any video file optimised for streaming over the Internet."}, 
     69               {'name' => "flv", 'desc' => "Uses the FLV format for streaming media. Better to target old computers."}, 
     70               {'name' => "mp4", 'desc' => "Uses the MP4 container with H264 and AAC codecs. Better quality at very low bitrates but more ressources intensive."}], 
     71    'deft' => "disabled", 
     72    'reqd' => "no" }]; 
    7573 
    7674my $options = { 'name'     => "MultimediaPlugin",