Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : apps/eclair

Dir     : e17/apps/eclair/src


Modified Files:
        eclair_video.c 


Log Message:
update eclair to fit emotion changes, remove trailing spaces

===================================================================
RCS file: /cvs/e/e17/apps/eclair/src/eclair_video.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- eclair_video.c      2 Oct 2005 09:09:11 -0000       1.3
+++ eclair_video.c      31 Oct 2007 20:01:25 -0000      1.4
@@ -37,7 +37,7 @@
       return;
 
    fprintf(stderr, "Eclair: Debug: Destroying \"create emotion object\" 
thread\n");
-   pthread_join(video->video_create_thread, NULL); 
+   pthread_join(video->video_create_thread, NULL);
    fprintf(stderr, "Eclair: Debug: \"create emotion object\" thread 
destroyed\n");
 }
 //Create the video window and object
@@ -59,7 +59,7 @@
    ecore_evas_callback_delete_request_set(video->video_window, 
_eclair_video_window_close_cb);
    ecore_evas_hide(video->video_window);
 
-   evas = ecore_evas_get(video->video_window);   
+   evas = ecore_evas_get(video->video_window);
    video->black_background = evas_object_rectangle_add(evas);
    evas_object_color_set(video->black_background, 0, 0, 0, 255);
    evas_object_layer_set(video->black_background, 0);
@@ -97,11 +97,11 @@
    switch (eclair->video_module)
    {
       case ECLAIR_VIDEO_GSTREAMER:
-         result |= emotion_object_init(new_video_object, 
"emotion_decoder_gstreamer.so");
+         result |= emotion_object_init(new_video_object, "gstreamer");
          break;
       case ECLAIR_VIDEO_XINE:
       default:
-         result |= emotion_object_init(new_video_object, 
"emotion_decoder_xine.so");
+         result |= emotion_object_init(new_video_object, "xine");
          break;
    }
    if (!result)
@@ -124,7 +124,7 @@
    if (eclair->start_playing)
       eclair_play_current(eclair);
 
-   return NULL; 
+   return NULL;
 }
 
 //Resize the video object and the black background object according to the 
size of the window
@@ -153,7 +153,7 @@
             video_width = window_width;
             video_height = video_width / ratio;
          }
-      
+
          X = (window_width - video_width) / 2.0;
          Y = (window_height - video_height) / 2.0;
       }
@@ -162,7 +162,7 @@
          video_width = window_width;
          video_height = window_height;
          X = Y = 0;
-      }   
+      }
       evas_object_move(video->video_object, X, Y);
       evas_object_resize(video->video_object, video_width, video_height);
    }
@@ -182,7 +182,7 @@
 static void _eclair_video_frame_decode_cb(void *data, Evas_Object *obj, void 
*event_info)
 {
    Eclair_Video *video;
-   
+
    if ((video = data))
       eclair_update(video->eclair);
 }
@@ -191,7 +191,7 @@
 static void _eclair_video_playback_finished_cb(void *data, Evas_Object *obj, 
void *event_info)
 {
    Eclair_Video *video;
-   
+
    if ((video = data))
       eclair_play_next(video->eclair);
 }



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to