summaryrefslogtreecommitdiff
path: root/ext/theora/gsttheoraenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/theora/gsttheoraenc.c')
-rw-r--r--ext/theora/gsttheoraenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/theora/gsttheoraenc.c b/ext/theora/gsttheoraenc.c
index 2797c02bb..4710bee07 100644
--- a/ext/theora/gsttheoraenc.c
+++ b/ext/theora/gsttheoraenc.c
@@ -910,14 +910,14 @@ theora_enc_sink_event (GstPad * pad, GstObject * parent, GstEvent * event)
{
GstCaps *caps;
- gst_event_parse_caps (event, &caps);
+ gst_event_caps_parse (event, &caps);
res = theora_enc_sink_setcaps (enc, caps);
gst_event_unref (event);
break;
}
case GST_EVENT_SEGMENT:
{
- gst_event_copy_segment (event, &enc->segment);
+ gst_event_segment_copy (event, &enc->segment);
res = gst_pad_push_event (enc->srcpad, event);
break;