summaryrefslogtreecommitdiffstats
path: root/ext/flac/gstflacenc.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2005-11-22 11:53:34 +0000
committerAndy Wingo <wingo@pobox.com>2005-11-22 11:53:34 +0000
commitbdeae7cfcd0591e3d76aa3ad5aae3f820b3c3f9d (patch)
tree945a5aabc7e4acc32c508adffac808fd30be6a2b /ext/flac/gstflacenc.c
parentf8456ac0f3cd61497b70f7eb61f9e38d58693e91 (diff)
ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event) (gst_dvdemux_demux_frame) ext/flac/gstflacdec.c (gst_flacdec_writ...
Original commit message from CVS: 2005-11-22 Andy Wingo <wingo@pobox.com> * ext/dv/gstdvdemux.c (gst_dvdemux_handle_sink_event) (gst_dvdemux_demux_frame) * ext/flac/gstflacdec.c (gst_flacdec_write) * ext/flac/gstflacenc.c (gst_flacenc_seek_callback) (gst_flacenc_sink_event) * ext/gconf/gstgconfaudiosink.c (gst_gconf_audio_sink_init) * ext/gconf/gstgconfvideosink.c (gst_gconf_video_sink_init) * ext/libpng/gstpngdec.c (gst_pngdec_caps_create_and_set) * ext/speex/gstspeexdec.c (speex_dec_event, speex_dec_chain) * gst/auparse/gstauparse.c (gst_auparse_chain) * gst/autodetect/gstautoaudiosink.c (gst_auto_audio_sink_init) * gst/autodetect/gstautovideosink.c (gst_auto_video_sink_init) * gst/avi/gstavidemux.c (gst_avi_demux_stream_header) (gst_avi_demux_handle_seek) * gst/goom/gstgoom.c (gst_goom_event) * gst/matroska/ebml-write.c (gst_ebml_write_seek) * gst/matroska/matroska-demux.c (gst_matroska_demux_handle_seek_event) (gst_matroska_demux_loop_stream_parse_id) * gst/wavenc/gstwavenc.c (gst_wavenc_stop_file) * gst/wavparse/gstwavparse.c (gst_wavparse_handle_seek) (gst_wavparse_stream_headers): Run update-funcnames.
Diffstat (limited to 'ext/flac/gstflacenc.c')
-rw-r--r--ext/flac/gstflacenc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/flac/gstflacenc.c b/ext/flac/gstflacenc.c
index 360ff67b..e5a7baa6 100644
--- a/ext/flac/gstflacenc.c
+++ b/ext/flac/gstflacenc.c
@@ -504,7 +504,7 @@ gst_flacenc_seek_callback (const FLAC__SeekableStreamEncoder * encoder,
if (flacenc->stopped)
return FLAC__STREAM_ENCODER_OK;
- event = gst_event_new_newsegment (TRUE, 1.0, GST_FORMAT_BYTES,
+ event = gst_event_new_new_segment (TRUE, 1.0, GST_FORMAT_BYTES,
absolute_byte_offset, GST_BUFFER_OFFSET_NONE, 0);
if ((peerpad = gst_pad_get_peer (flacenc->srcpad))) {
@@ -601,7 +601,7 @@ gst_flacenc_sink_event (GstPad * pad, GstEvent * event)
gint64 start, stream_time;
if (flacenc->offset == 0) {
- gst_event_parse_newsegment (event, NULL, NULL, &format, &start, NULL,
+ gst_event_parse_new_segment (event, NULL, NULL, &format, &start, NULL,
&stream_time);
} else {
start = -1;
@@ -612,7 +612,7 @@ gst_flacenc_sink_event (GstPad * pad, GstEvent * event)
else
GST_DEBUG ("Not handling newsegment event with non-zero start");
} else {
- GstEvent *e = gst_event_new_newsegment (FALSE, 1.0, GST_FORMAT_BYTES,
+ GstEvent *e = gst_event_new_new_segment (FALSE, 1.0, GST_FORMAT_BYTES,
0, -1, 0);
ret = gst_pad_push_event (flacenc->srcpad, e);