diff options
Diffstat (limited to 'gst/camerabin2/gstcamerabin2.c')
-rw-r--r-- | gst/camerabin2/gstcamerabin2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/camerabin2/gstcamerabin2.c b/gst/camerabin2/gstcamerabin2.c index afae1014a..b640ad08b 100644 --- a/gst/camerabin2/gstcamerabin2.c +++ b/gst/camerabin2/gstcamerabin2.c @@ -446,7 +446,7 @@ gst_camera_bin_start_capture (GstCameraBin2 * camerabin) active_pad = gst_element_get_static_pad (camerabin->src, GST_BASE_CAMERA_SRC_VIDEO_PAD_NAME); gst_pad_push_event (active_pad, - gst_event_new_tag (gst_tag_list_copy (taglist))); + gst_event_tag_new (gst_tag_list_copy (taglist))); gst_object_unref (active_pad); } @@ -463,7 +463,7 @@ gst_camera_bin_stop_capture (GstCameraBin2 * camerabin) if (camerabin->mode == MODE_VIDEO && camerabin->audio_src) { camerabin->audio_drop_eos = FALSE; - gst_element_send_event (camerabin->audio_src, gst_event_new_eos ()); + gst_element_send_event (camerabin->audio_src, gst_event_eos_new ()); } } @@ -1287,7 +1287,7 @@ gst_camera_bin_image_src_buffer_probe (GstPad * pad, GstBuffer * buf, GST_PTR_FORMAT, tags); if (tags) { peer = gst_pad_get_peer (pad); - gst_pad_send_event (peer, gst_event_new_tag (tags)); + gst_pad_send_event (peer, gst_event_tag_new (tags)); gst_object_unref (peer); } } else { |