? .directory
? video-932676.patch
Index: video.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/video/video.module,v
retrieving revision 1.69.4.17.2.7.2.60
diff -u -p -r1.69.4.17.2.7.2.60 video.module
--- video.module	1 Oct 2010 02:01:13 -0000	1.69.4.17.2.7.2.60
+++ video.module	5 Oct 2010 21:48:28 -0000
@@ -246,7 +246,7 @@ function video_cron() {
  * Implementation of hook_form_alter()
  * @param string $form
  * @param <type> $form_state
- * @param <type> $form_id 
+ * @param <type> $form_id
  */
 function video_form_alter(&$form, &$form_state, $form_id) {
   if (isset($form['type']) && isset($form['#node']) && $form['type']['#value'] . '_node_form' == $form_id) {
@@ -647,7 +647,7 @@ function video_upload_manual_thumb(&$ele
 
 /*
  * Function updates our options list to show matching aspect ratios and if we have a matching resolution.
- * 
+ *
  * We will update the options array by reference and return the aspect ratio of the file.
  */
 
@@ -672,7 +672,7 @@ function _video_dimensions_options(&$opt
 
 /*
  * Returns the width/height and aspect ratio of the video
- * 
+ *
  * @todo: move this to the transcoder class instead?
  */
 
@@ -859,7 +859,7 @@ function video_default_widget_settings($
   // as a standard field setting.
   $form['default_video_thumb'] = array(
     '#type' => 'value',
-    '#value' => $widget['default_video_thumb'],
+    '#value' => isset($widget['default_video_thumb']) ? $widget['default_video_thumb'] : NULL,
   );
   return $form;
 }
