summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2012-03-30 12:02:16 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2012-03-30 12:02:34 +0200
commitc63fa9190ba833b3b040d662d949c5d5e5da46de (patch)
treeac5e5581b991c6653f1312717ccb34871469c9e9 /gst
parentad1b47c3586e91e1799b93350fdc49c639e94573 (diff)
videoparsers: Update for baseparse API changes
Diffstat (limited to 'gst')
-rw-r--r--gst/videoparsers/gsth263parse.c4
-rw-r--r--gst/videoparsers/gsth264parse.c10
-rw-r--r--gst/videoparsers/gstmpeg4videoparse.c6
3 files changed, 10 insertions, 10 deletions
diff --git a/gst/videoparsers/gsth263parse.c b/gst/videoparsers/gsth263parse.c
index 9ff1af66c..4d75da87e 100644
--- a/gst/videoparsers/gsth263parse.c
+++ b/gst/videoparsers/gsth263parse.c
@@ -83,7 +83,7 @@ gst_h263_parse_class_init (GstH263ParseClass * klass)
/* Override BaseParse vfuncs */
parse_class->start = GST_DEBUG_FUNCPTR (gst_h263_parse_start);
parse_class->stop = GST_DEBUG_FUNCPTR (gst_h263_parse_stop);
- parse_class->event = GST_DEBUG_FUNCPTR (gst_h263_parse_sink_event);
+ parse_class->sink_event = GST_DEBUG_FUNCPTR (gst_h263_parse_sink_event);
parse_class->handle_frame = GST_DEBUG_FUNCPTR (gst_h263_parse_handle_frame);
parse_class->get_sink_caps = GST_DEBUG_FUNCPTR (gst_h263_parse_get_sink_caps);
}
@@ -142,7 +142,7 @@ gst_h263_parse_sink_event (GstBaseParse * parse, GstEvent * event)
break;
}
- return GST_BASE_PARSE_CLASS (parent_class)->event (parse, event);
+ return GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
}
static guint
diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c
index 4e1f5b000..e6321778a 100644
--- a/gst/videoparsers/gsth264parse.c
+++ b/gst/videoparsers/gsth264parse.c
@@ -127,7 +127,7 @@ gst_h264_parse_class_init (GstH264ParseClass * klass)
GST_DEBUG_FUNCPTR (gst_h264_parse_pre_push_frame);
parse_class->set_sink_caps = GST_DEBUG_FUNCPTR (gst_h264_parse_set_caps);
parse_class->get_sink_caps = GST_DEBUG_FUNCPTR (gst_h264_parse_get_caps);
- parse_class->event = GST_DEBUG_FUNCPTR (gst_h264_parse_event);
+ parse_class->sink_event = GST_DEBUG_FUNCPTR (gst_h264_parse_event);
parse_class->src_event = GST_DEBUG_FUNCPTR (gst_h264_parse_src_event);
gst_element_class_add_pad_template (gstelement_class,
@@ -1880,7 +1880,7 @@ gst_h264_parse_event (GstBaseParse * parse, GstEvent * event)
gst_event_unref (event);
res = TRUE;
} else {
- res = GST_BASE_PARSE_CLASS (parent_class)->event (parse, event);
+ res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
break;
}
break;
@@ -1889,7 +1889,7 @@ gst_h264_parse_event (GstBaseParse * parse, GstEvent * event)
h264parse->dts = GST_CLOCK_TIME_NONE;
h264parse->ts_trn_nb = GST_CLOCK_TIME_NONE;
- res = GST_BASE_PARSE_CLASS (parent_class)->event (parse, event);
+ res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
break;
case GST_EVENT_SEGMENT:
{
@@ -1902,11 +1902,11 @@ gst_h264_parse_event (GstBaseParse * parse, GstEvent * event)
|| segment->applied_rate != 1.0))
h264parse->do_ts = FALSE;
- res = GST_BASE_PARSE_CLASS (parent_class)->event (parse, event);
+ res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
break;
}
default:
- res = GST_BASE_PARSE_CLASS (parent_class)->event (parse, event);
+ res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
break;
}
return res;
diff --git a/gst/videoparsers/gstmpeg4videoparse.c b/gst/videoparsers/gstmpeg4videoparse.c
index e0f982b6a..9b7344f06 100644
--- a/gst/videoparsers/gstmpeg4videoparse.c
+++ b/gst/videoparsers/gstmpeg4videoparse.c
@@ -171,7 +171,7 @@ gst_mpeg4vparse_class_init (GstMpeg4VParseClass * klass)
GST_DEBUG_FUNCPTR (gst_mpeg4vparse_pre_push_frame);
parse_class->set_sink_caps = GST_DEBUG_FUNCPTR (gst_mpeg4vparse_set_caps);
parse_class->get_sink_caps = GST_DEBUG_FUNCPTR (gst_mpeg4vparse_get_caps);
- parse_class->event = GST_DEBUG_FUNCPTR (gst_mpeg4vparse_event);
+ parse_class->sink_event = GST_DEBUG_FUNCPTR (gst_mpeg4vparse_event);
parse_class->src_event = GST_DEBUG_FUNCPTR (gst_mpeg4vparse_src_event);
}
@@ -837,12 +837,12 @@ gst_mpeg4vparse_event (GstBaseParse * parse, GstEvent * event)
gst_event_unref (event);
res = TRUE;
} else {
- res = GST_BASE_PARSE_CLASS (parent_class)->event (parse, event);
+ res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
}
break;
}
default:
- res = GST_BASE_PARSE_CLASS (parent_class)->event (parse, event);
+ res = GST_BASE_PARSE_CLASS (parent_class)->sink_event (parse, event);
break;
}
return res;