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

David Mohr squisher at xfce.org
Thu May 28 07:14:42 CEST 2009


Author: squisher
Date: 2009-05-28 05:14:42 +0000 (Thu, 28 May 2009)
New Revision: 7430

Modified:
   xfburn/trunk/xfburn/xfburn-transcoder-gst.c
Log:
Committing old uncommitted bugfix for god knows what

Modified: xfburn/trunk/xfburn/xfburn-transcoder-gst.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-transcoder-gst.c	2009-05-28 03:08:34 UTC (rev 7429)
+++ xfburn/trunk/xfburn/xfburn-transcoder-gst.c	2009-05-28 05:14:42 UTC (rev 7430)
@@ -972,9 +972,11 @@
   XfburnTranscoderGst *gst = XFBURN_TRANSCODER_GST (trans);
   XfburnTranscoderGstPrivate *priv= XFBURN_TRANSCODER_GST_GET_PRIVATE (gst);
 
+  /*
   GstState state;
   GstClock *clock;
   GstClockTime tv;
+  */
 
 #if DEBUG_GST > 0
   DBG ("Done transcoding");
@@ -983,6 +985,11 @@
 
   priv->curr_track = NULL;
 
+  /*
+   * gstreamer doesn't even want to work with us again after getting back into
+   * the ready state. Lame. So we just recreate the pipeline.
+   * Which doesn't help either. Oh Well.
+   * FIXME: how to get gstreamer to accept state changes again after an aborted burn run?
   clock = gst_element_get_clock (priv->pipeline);
   tv = gst_clock_get_time (clock);
   g_object_unref (clock);
@@ -999,6 +1006,8 @@
     DBG ("Could not make pipeline ready, recreating it");
     recreate_pipeline (gst);
   }
+  */
+  recreate_pipeline (gst);
 }
 
 static gboolean




More information about the Goodies-commits mailing list