mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:26:14 +00:00
gst/gstevent.h: Add small comment.
Original commit message from CVS: * gst/gstevent.h: Add small comment. * libs/gst/base/gstbasetransform.c: (gst_base_transform_sink_eventfunc): Debug segment values *after* updating them as this is more interesting.
This commit is contained in:
parent
340a8fee72
commit
9bece70bf2
3 changed files with 15 additions and 4 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2006-10-24 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
|
* gst/gstevent.h:
|
||||||
|
Add small comment.
|
||||||
|
|
||||||
|
* libs/gst/base/gstbasetransform.c:
|
||||||
|
(gst_base_transform_sink_eventfunc):
|
||||||
|
Debug segment values *after* updating them as this is more
|
||||||
|
interesting.
|
||||||
|
|
||||||
2006-10-23 Wim Taymans <wim@fluendo.com>
|
2006-10-23 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* docs/design/part-events.txt:
|
* docs/design/part-events.txt:
|
||||||
|
|
|
@ -253,7 +253,8 @@ typedef enum {
|
||||||
* faster but less accurate.
|
* faster but less accurate.
|
||||||
* @GST_SEEK_FLAG_SEGMENT: perform a segment seek.
|
* @GST_SEEK_FLAG_SEGMENT: perform a segment seek.
|
||||||
*
|
*
|
||||||
* Flags to be used with gst_element_seek() or gst_event_new_seek()
|
* Flags to be used with gst_element_seek() or gst_event_new_seek(). All flags
|
||||||
|
* can be used together.
|
||||||
*
|
*
|
||||||
* A non flushing seek might take some time to perform as the currently
|
* A non flushing seek might take some time to perform as the currently
|
||||||
* playing data in the pipeline will not be cleared.
|
* playing data in the pipeline will not be cleared.
|
||||||
|
|
|
@ -1263,6 +1263,9 @@ gst_base_transform_sink_eventfunc (GstBaseTransform * trans, GstEvent * event)
|
||||||
|
|
||||||
trans->have_newsegment = TRUE;
|
trans->have_newsegment = TRUE;
|
||||||
|
|
||||||
|
gst_segment_set_newsegment_full (&trans->segment, update, rate, arate,
|
||||||
|
format, start, stop, time);
|
||||||
|
|
||||||
if (format == GST_FORMAT_TIME) {
|
if (format == GST_FORMAT_TIME) {
|
||||||
GST_DEBUG_OBJECT (trans, "received TIME NEW_SEGMENT %" GST_TIME_FORMAT
|
GST_DEBUG_OBJECT (trans, "received TIME NEW_SEGMENT %" GST_TIME_FORMAT
|
||||||
" -- %" GST_TIME_FORMAT ", time %" GST_TIME_FORMAT
|
" -- %" GST_TIME_FORMAT ", time %" GST_TIME_FORMAT
|
||||||
|
@ -1278,9 +1281,6 @@ gst_base_transform_sink_eventfunc (GstBaseTransform * trans, GstEvent * event)
|
||||||
trans->segment.start, trans->segment.stop,
|
trans->segment.start, trans->segment.stop,
|
||||||
trans->segment.time, trans->segment.accum);
|
trans->segment.time, trans->segment.accum);
|
||||||
}
|
}
|
||||||
|
|
||||||
gst_segment_set_newsegment_full (&trans->segment, update, rate, arate,
|
|
||||||
format, start, stop, time);
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue