mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-09 08:55:33 +00:00
Added cutter patch from Andrew Turner and sat default scheduler to opt
Original commit message from CVS: Added cutter patch from Andrew Turner and sat default scheduler to opt
This commit is contained in:
parent
018776c03b
commit
e8b49479dd
3 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ void cut_start (GstElement *element)
|
||||||
g_print ("DEBUG: cut_start: main_bin paused\n");
|
g_print ("DEBUG: cut_start: main_bin paused\n");
|
||||||
|
|
||||||
{
|
{
|
||||||
long seconds;
|
time_t seconds;
|
||||||
struct tm *ct;
|
struct tm *ct;
|
||||||
time (&seconds);
|
time (&seconds);
|
||||||
ct = localtime (&seconds);
|
ct = localtime (&seconds);
|
||||||
|
|
|
@ -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))
|
#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 */
|
/* 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 _GstSchedulerFactory GstSchedulerFactory;
|
||||||
typedef struct _GstSchedulerFactoryClass GstSchedulerFactoryClass;
|
typedef struct _GstSchedulerFactoryClass GstSchedulerFactoryClass;
|
||||||
|
|
|
@ -43,7 +43,7 @@ void cut_start (GstElement *element)
|
||||||
g_print ("DEBUG: cut_start: main_bin paused\n");
|
g_print ("DEBUG: cut_start: main_bin paused\n");
|
||||||
|
|
||||||
{
|
{
|
||||||
long seconds;
|
time_t seconds;
|
||||||
struct tm *ct;
|
struct tm *ct;
|
||||||
time (&seconds);
|
time (&seconds);
|
||||||
ct = localtime (&seconds);
|
ct = localtime (&seconds);
|
||||||
|
|
Loading…
Reference in a new issue