mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
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:
parent
8694ff47b4
commit
7eb36ed16f
3 changed files with 8 additions and 2 deletions
|
@ -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):
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue