Added cutter patch from Andrew Turner and sat default scheduler to opt
authorChristian Schaller <uraeus@gnome.org>
Sun, 23 Feb 2003 20:15:00 +0000 (20:15 +0000)
committerChristian Schaller <uraeus@gnome.org>
Sun, 23 Feb 2003 20:15:00 +0000 (20:15 +0000)
Original commit message from CVS:
Added cutter patch from Andrew Turner and sat default scheduler to opt

examples/cutter/cutter.c
gst/gstscheduler.h
tests/old/examples/cutter/cutter.c

index c79350c..025a2d9 100644 (file)
@@ -43,7 +43,7 @@ void cut_start (GstElement *element)
   g_print ("DEBUG: cut_start: main_bin paused\n");
 
   {
-    long seconds;
+    time_t seconds;
     struct tm *ct;
     time (&seconds);
     ct = localtime (&seconds);
index bd9ad3e..792e9b2 100644 (file)
@@ -152,7 +152,7 @@ void                        gst_scheduler_show              (GstScheduler *sched);
 #define GST_SCHEDULER_FACTORY_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_SCHEDULER_FACTORY, GstSchedulerFactoryClass))
 
 /* change this to change the default scheduler */
-#define GST_SCHEDULER_DEFAULT_NAME     "basicomega"
+#define GST_SCHEDULER_DEFAULT_NAME     "opt"
 
 typedef struct _GstSchedulerFactory GstSchedulerFactory;
 typedef struct _GstSchedulerFactoryClass GstSchedulerFactoryClass;
index c79350c..025a2d9 100644 (file)
@@ -43,7 +43,7 @@ void cut_start (GstElement *element)
   g_print ("DEBUG: cut_start: main_bin paused\n");
 
   {
-    long seconds;
+    time_t seconds;
     struct tm *ct;
     time (&seconds);
     ct = localtime (&seconds);