/[drupal]/contributions/modules/media_mover/mm_ffmpeg/mm_ffmpeg.module
ViewVC logotype

Diff of /contributions/modules/media_mover/mm_ffmpeg/mm_ffmpeg.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.60.2.17, Sun Oct 4 22:54:08 2009 UTC revision 1.1.2.60.2.18, Tue Oct 27 11:32:28 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3  /* $Id: mm_ffmpeg.module,v 1.1.2.60.2.16 2009/05/21 14:07:07 arthuregg Exp $ */  /* $Id: mm_ffmpeg.module,v 1.1.2.60.2.17 2009/10/04 22:54:08 arthuregg Exp $ */
4    
5    
6  /*  /*
# Line 412  function mm_ffmpeg_config($configuration Line 412  function mm_ffmpeg_config($configuration
412    }    }
413  }  }
414    
 /**  
  * validates the video configuration setup  
  * @param int $action_id  
  * @param array $configuration  
  */  
 function mm_ffmpeg_config_validate($configuration) {  
         // check the custom command  
   if (preg_match('/[|>]/', $configuration['ffmpeg_video_custom_command'])) {  
         $errors[] = array(  
           'element' => 'ffmpeg_video_custom_command',  
           'message' => t('You can not use | or > in your command'),  
         );  
   }  
   return $errors;  
 }  
   
415    
416  /**  /**
417   * builds the edit config form for thumbnail   * builds the edit config form for thumbnail

Legend:
Removed from v.1.1.2.60.2.17  
changed lines
  Added in v.1.1.2.60.2.18

  ViewVC Help
Powered by ViewVC 1.1.2