diff --git a/examples/cutter/cutter.c b/examples/cutter/cutter.c index c79350ca22..025a2d993e 100644 --- a/examples/cutter/cutter.c +++ b/examples/cutter/cutter.c @@ -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); diff --git a/gst/gstscheduler.h b/gst/gstscheduler.h index bd9ad3e7f3..792e9b2569 100644 --- a/gst/gstscheduler.h +++ b/gst/gstscheduler.h @@ -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; diff --git a/tests/old/examples/cutter/cutter.c b/tests/old/examples/cutter/cutter.c index c79350ca22..025a2d993e 100644 --- a/tests/old/examples/cutter/cutter.c +++ b/tests/old/examples/cutter/cutter.c @@ -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);