Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/emotion

Dir     : e17/libs/emotion/src/modules


Modified Files:
        emotion_xine.c 


Log Message:


move some more stuff to the threads

===================================================================
RCS file: /cvs/e/e17/libs/emotion/src/modules/emotion_xine.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -3 -r1.34 -r1.35
--- emotion_xine.c      13 Mar 2007 16:23:59 -0000      1.34
+++ emotion_xine.c      19 Mar 2007 18:10:21 -0000      1.35
@@ -99,6 +99,7 @@
                  break;
                case 1: /* init */
                    {
+                      ev->decoder = xine_new();
                       xine_init(ev->decoder);
                       xine_register_plugins(ev->decoder, 
emotion_xine_plugin_info);
                       if (1)
@@ -373,13 +374,6 @@
    ev = calloc(1, sizeof(Emotion_Xine_Video));
    if (!ev) return 0;
    ev->obj = obj;
-   
-   ev->decoder = xine_new();
-   if (!ev->decoder)
-     {
-       free(ev);
-       return 0;
-     }
    
    if (pipe(fds) == 0)
      {



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to