[Goodies-commits] r6211 - xfburn/trunk/xfburn

David Mohr squisher at xfce.org
Thu Nov 27 01:00:39 CET 2008


Author: squisher
Date: 2008-11-27 00:00:39 +0000 (Thu, 27 Nov 2008)
New Revision: 6211

Modified:
   xfburn/trunk/xfburn/xfburn-audio-composition.c
   xfburn/trunk/xfburn/xfburn-transcoder-gst.c
Log:
Adding one missing gdk_threads_enter/leave

Modified: xfburn/trunk/xfburn/xfburn-audio-composition.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-11-26 23:27:19 UTC (rev 6210)
+++ xfburn/trunk/xfburn/xfburn-audio-composition.c	2008-11-27 00:00:39 UTC (rev 6211)
@@ -1261,7 +1261,10 @@
 
       g_free (humanlength);
 
+      gdk_threads_enter ();
       xfburn_disc_usage_add_size (XFBURN_DISC_USAGE (priv->disc_usage), secs);
+      gdk_threads_leave ();
+
       ret = TRUE;
     }
     //g_free (humansize);
@@ -1759,15 +1762,6 @@
 
         priv->full_paths_to_add = g_list_prepend (priv->full_paths_to_add, full_path);
         ret = TRUE;
-        /*
-        if (xfburn_transcoder_is_audio_file (priv->trans, full_path, NULL)) {
-          priv->full_paths_to_add = g_list_prepend (priv->full_paths_to_add, full_path);
-          ret = TRUE;
-        } else {
-          g_error_free (error);
-          notify_not_adding (composition, NOT_ADDING_EXT, full_path);
-        }
-        */
       }
       thunar_vfs_path_list_free (vfs_paths);
 

Modified: xfburn/trunk/xfburn/xfburn-transcoder-gst.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-transcoder-gst.c	2008-11-26 23:27:19 UTC (rev 6210)
+++ xfburn/trunk/xfburn/xfburn-transcoder-gst.c	2008-11-27 00:00:39 UTC (rev 6211)
@@ -764,7 +764,7 @@
   priv->state = XFBURN_TRANSCODER_GST_STATE_IDENTIFYING;
   g_object_set (G_OBJECT (priv->source), "location", fn, NULL);
   if (gst_element_set_state (priv->pipeline, GST_STATE_PAUSED) == GST_STATE_CHANGE_FAILURE) {
-    g_message ("Supposedly failed to change gstreamer state, ignoring it usually it does it anyways.");
+    g_message ("Supposedly failed to change gstreamer state, ignoring it as usually it does it anyways.");
     /*
     g_set_error (error, XFBURN_ERROR, XFBURN_ERROR_GST_STATE,
                  _("Failed to change state!"));




More information about the Goodies-commits mailing list