gst/base/gstbasesrc.c: Discont event offset format should be GST_FORMAT_BYTES, not GST_FORMAT_TIME.

Original commit message from CVS:
* gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
Discont event offset format should be GST_FORMAT_BYTES,
not GST_FORMAT_TIME.
This commit is contained in:
Tim-Philipp Müller 2005-05-12 13:59:58 +00:00
parent 8694ff47b4
commit 7eb36ed16f
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
* gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
Discont event offset format should be GST_FORMAT_BYTES,
not GST_FORMAT_TIME.
2005-05-12 Wim Taymans <wim@fluendo.com>
* gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):

View file

@ -326,7 +326,7 @@ gst_basesrc_do_seek (GstBaseSrc * src, GstEvent * event)
GstEvent *event;
event = gst_event_new_discontinuous (1.0,
GST_FORMAT_TIME,
GST_FORMAT_BYTES,
(gint64) src->segment_start, (gint64) src->segment_end, NULL);
gst_pad_push_event (src->srcpad, event);

View file

@ -326,7 +326,7 @@ gst_basesrc_do_seek (GstBaseSrc * src, GstEvent * event)
GstEvent *event;
event = gst_event_new_discontinuous (1.0,
GST_FORMAT_TIME,
GST_FORMAT_BYTES,
(gint64) src->segment_start, (gint64) src->segment_end, NULL);
gst_pad_push_event (src->srcpad, event);