/third_party/gstreamer/gstplugins_bad/gst/midi/ |
D | midiparse.c | 267 GstSegment seeksegment; in gst_midi_parse_perform_seek() local 311 memcpy (&seeksegment, &midiparse->segment, sizeof (GstSegment)); in gst_midi_parse_perform_seek() 315 gst_segment_do_seek (&seeksegment, rate, seek_format, flags, in gst_midi_parse_perform_seek() 323 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_midi_parse_perform_seek() 326 res = gst_midi_parse_do_seek (midiparse, &seeksegment); in gst_midi_parse_perform_seek() 341 memcpy (&midiparse->segment, &seeksegment, sizeof (GstSegment)); in gst_midi_parse_perform_seek() 344 if (seeksegment.flags & GST_SEGMENT_FLAG_SEGMENT) { in gst_midi_parse_perform_seek() 348 seeksegment.format, seeksegment.position); in gst_midi_parse_perform_seek() 355 if ((stop = seeksegment.stop) == -1) in gst_midi_parse_perform_seek() 356 stop = seeksegment.duration; in gst_midi_parse_perform_seek()
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbasesrc.c | 1446 GstSegment * seeksegment) in gst_base_src_prepare_seek_segment() argument 1454 result = bclass->prepare_seek_segment (src, event, seeksegment); in gst_base_src_prepare_seek_segment() 1626 GstSegment seeksegment; in gst_base_src_perform_seek() local 1648 gst_segment_init (&seeksegment, dest_format); in gst_base_src_perform_seek() 1650 if (!gst_base_src_prepare_seek_segment (src, event, &seeksegment)) in gst_base_src_perform_seek() 1696 memcpy (&seeksegment, &src->segment, sizeof (GstSegment)); in gst_base_src_perform_seek() 1700 if (seeksegment.format != seek_format) { in gst_base_src_perform_seek() 1704 if (!gst_base_src_prepare_seek_segment (src, event, &seeksegment)) { in gst_base_src_perform_seek() 1712 gst_segment_do_seek (&seeksegment, rate, seek_format, flags, in gst_base_src_perform_seek() 1723 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_base_src_perform_seek() [all …]
|
D | gstbaseparse.c | 4513 GstSegment seeksegment = { 0, }; in gst_base_parse_handle_seek() local 4564 gst_segment_copy_into (&parse->segment, &seeksegment); in gst_base_parse_handle_seek() 4567 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_base_parse_handle_seek() 4575 gst_base_parse_find_offset (parse, seeksegment.position, TRUE, &start_ts); in gst_base_parse_handle_seek() 4576 if (seeksegment.position <= start_ts + TARGET_DIFFERENCE) { in gst_base_parse_handle_seek() 4584 startpos = seeksegment.position; in gst_base_parse_handle_seek() 4594 if (seeksegment.stop == -1 && seeksegment.duration != -1) in gst_base_parse_handle_seek() 4595 seeksegment.stop = seeksegment.start + seeksegment.duration; in gst_base_parse_handle_seek() 4598 seekstop = gst_base_parse_find_offset (parse, seeksegment.stop, FALSE, in gst_base_parse_handle_seek() 4602 start_ts = seeksegment.position; in gst_base_parse_handle_seek() [all …]
|
D | gstbasesink.c | 4168 GstSegment seeksegment; in gst_base_sink_perform_seek() local 4197 memcpy (&seeksegment, &sink->segment, sizeof (GstSegment)); in gst_base_sink_perform_seek() 4206 &seeksegment)) { in gst_base_sink_perform_seek() 4214 gst_segment_do_seek (&seeksegment, rate, seek_format, flags, in gst_base_sink_perform_seek() 4225 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_base_sink_perform_seek() 4228 res = gst_base_sink_default_do_seek (sink, &seeksegment); in gst_base_sink_perform_seek() 4244 if (res && seeksegment.format != dest_format) { in gst_base_sink_perform_seek() 4251 &seeksegment); in gst_base_sink_perform_seek() 4256 gst_segment_copy_into (&seeksegment, &sink->segment); in gst_base_sink_perform_seek()
|
/third_party/gstreamer/gstplugins_good/gst/flv/ |
D | gstflvdemux.c | 2825 GstSegment seeksegment; in flv_demux_handle_seek_push() local 2836 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in flv_demux_handle_seek_push() 2842 gst_segment_do_seek (&seeksegment, rate, format, flags, in flv_demux_handle_seek_push() 2846 &seeksegment); in flv_demux_handle_seek_push() 2848 if (flush || seeksegment.position != demux->segment.position) { in flv_demux_handle_seek_push() 2850 guint64 offset = gst_flv_demux_find_offset (demux, &seeksegment, flags); in flv_demux_handle_seek_push() 2855 gst_event_new_seek (seeksegment.rate, GST_FORMAT_BYTES, in flv_demux_handle_seek_push() 2872 memcpy (&demux->segment, &seeksegment, sizeof (GstSegment)); in flv_demux_handle_seek_push() 2985 GstSegment seeksegment; in gst_flv_demux_handle_seek_pull() local 3020 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in gst_flv_demux_handle_seek_pull() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/matroska/ |
D | matroska-demux.c | 2663 GstSegment seeksegment = { 0, }; in gst_matroska_demux_handle_seek_event() local 2688 memcpy (&seeksegment, &demux->common.segment, sizeof (GstSegment)); in gst_matroska_demux_handle_seek_event() 2695 seeksegment.duration = GST_CLOCK_TIME_NONE; in gst_matroska_demux_handle_seek_event() 2702 seeksegment.start -= demux->stream_start_time; in gst_matroska_demux_handle_seek_event() 2703 seeksegment.position -= demux->stream_start_time; in gst_matroska_demux_handle_seek_event() 2704 if (GST_CLOCK_TIME_IS_VALID (seeksegment.stop)) in gst_matroska_demux_handle_seek_event() 2705 seeksegment.stop -= demux->stream_start_time; in gst_matroska_demux_handle_seek_event() 2707 seeksegment.stop = seeksegment.duration; in gst_matroska_demux_handle_seek_event() 2710 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_matroska_demux_handle_seek_event() 2715 seeksegment.position += demux->stream_start_time; in gst_matroska_demux_handle_seek_event() [all …]
|
D | matroska-parse.c | 1244 GstSegment seeksegment = { 0, }; in gst_matroska_parse_handle_seek_event() local 1264 memcpy (&seeksegment, &parse->common.segment, sizeof (GstSegment)); in gst_matroska_parse_handle_seek_event() 1268 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_matroska_parse_handle_seek_event() 1272 GST_DEBUG_OBJECT (parse, "New segment %" GST_SEGMENT_FORMAT, &seeksegment); in gst_matroska_parse_handle_seek_event() 1274 if (seeksegment.rate < 0) in gst_matroska_parse_handle_seek_event() 1282 seeksegment.position, &parse->seek_index, &parse->seek_entry, in gst_matroska_parse_handle_seek_event()
|
/third_party/gstreamer/gstplugins_bad/gst/mpegdemux/ |
D | gstmpegdemux.c | 1169 gst_ps_demux_do_seek (GstPsDemux * demux, GstSegment * seeksegment) in gst_ps_demux_do_seek() argument 1173 guint64 scr = GSTTIME_TO_MPEGTIME (seeksegment->position + demux->base_time); in gst_ps_demux_do_seek() 1228 GstSegment seeksegment; in gst_ps_demux_handle_seek_pull() local 1268 memcpy (&seeksegment, &demux->src_segment, sizeof (GstSegment)); in gst_ps_demux_handle_seek_pull() 1274 if (!gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_ps_demux_handle_seek_pull() 1279 &seeksegment); in gst_ps_demux_handle_seek_pull() 1281 if (flush || seeksegment.position != demux->src_segment.position) { in gst_ps_demux_handle_seek_pull() 1283 if (!gst_ps_demux_do_seek (demux, &seeksegment)) { in gst_ps_demux_handle_seek_pull() 1289 if (seeksegment.rate > 0.0 && first_pts != G_MAXUINT64) { in gst_ps_demux_handle_seek_pull() 1290 if (seeksegment.start < first_pts - demux->base_time) { in gst_ps_demux_handle_seek_pull() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/aiff/ |
D | aiffparse.c | 315 GstSegment seeksegment = { 0, }; in gst_aiff_parse_perform_seek() local 420 memcpy (&seeksegment, &aiff->segment, sizeof (GstSegment)); in gst_aiff_parse_perform_seek() 426 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_aiff_parse_perform_seek() 432 if ((stop = seeksegment.stop) == -1) in gst_aiff_parse_perform_seek() 433 stop = seeksegment.duration; in gst_aiff_parse_perform_seek() 442 gst_util_uint64_scale_ceil (seeksegment.position, in gst_aiff_parse_perform_seek() 445 aiff->offset = seeksegment.position; in gst_aiff_parse_perform_seek() 485 aiff->offset, aiff->end_offset, GST_TIME_ARGS (seeksegment.start), in gst_aiff_parse_perform_seek() 496 memcpy (&aiff->segment, &seeksegment, sizeof (GstSegment)); in gst_aiff_parse_perform_seek()
|
/third_party/gstreamer/gstplugins_good/ext/dv/ |
D | gstdvdemux.c | 1052 GstSegment seeksegment; in gst_dvdemux_handle_pull_seek() local 1100 memcpy (&seeksegment, &demux->time_segment, sizeof (GstSegment)); in gst_dvdemux_handle_pull_seek() 1104 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_dvdemux_handle_pull_seek() 1110 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_dvdemux_handle_pull_seek() 1113 res = gst_dvdemux_do_seek (demux, &seeksegment); in gst_dvdemux_handle_pull_seek() 1127 memcpy (&demux->time_segment, &seeksegment, sizeof (GstSegment)); in gst_dvdemux_handle_pull_seek()
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gsttypefindelement.c | 516 GstSegment seeksegment = { 0, }; in gst_type_find_element_seek() local 529 memcpy (&seeksegment, &typefind->segment, sizeof (GstSegment)); in gst_type_find_element_seek() 532 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_type_find_element_seek() 537 GST_DEBUG_OBJECT (typefind, "New segment %" GST_SEGMENT_FORMAT, &seeksegment); in gst_type_find_element_seek() 562 memcpy (&typefind->segment, &seeksegment, sizeof (GstSegment)); in gst_type_find_element_seek()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavdemux.c | 538 GstSegment seeksegment; in gst_ffmpegdemux_perform_seek() local 623 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in gst_ffmpegdemux_perform_seek() 627 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_ffmpegdemux_perform_seek() 633 seeksegment.start, seeksegment.stop, seeksegment.position); in gst_ffmpegdemux_perform_seek() 645 res = gst_ffmpegdemux_do_seek (demux, &seeksegment); in gst_ffmpegdemux_perform_seek() 656 memcpy (&demux->segment, &seeksegment, sizeof (GstSegment)); in gst_ffmpegdemux_perform_seek()
|
/third_party/gstreamer/gstplugins_good/gst/wavparse/ |
D | gstwavparse.c | 391 GstSegment seeksegment = { 0, }; in gst_wavparse_perform_seek() local 506 memcpy (&seeksegment, &wav->segment, sizeof (GstSegment)); in gst_wavparse_perform_seek() 512 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_wavparse_perform_seek() 518 if ((stop = seeksegment.stop) == -1) in gst_wavparse_perform_seek() 519 stop = seeksegment.duration; in gst_wavparse_perform_seek() 526 if (!gst_wavparse_time_to_bytepos (wav, seeksegment.position, in gst_wavparse_perform_seek() 528 wav->offset = seeksegment.position; in gst_wavparse_perform_seek() 568 wav->end_offset, GST_TIME_ARGS (seeksegment.start), GST_TIME_ARGS (stop)); in gst_wavparse_perform_seek() 585 memcpy (&wav->segment, &seeksegment, sizeof (GstSegment)); in gst_wavparse_perform_seek()
|
/third_party/gstreamer/gstplugins_bad/gst/mxf/ |
D | mxfdemux.c | 3546 GstSegment seeksegment; in gst_mxf_demux_seek_push() local 3564 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in gst_mxf_demux_seek_push() 3570 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_mxf_demux_seek_push() 3574 &seeksegment); in gst_mxf_demux_seek_push() 3576 if (flush || seeksegment.position != demux->segment.position) { in gst_mxf_demux_seek_push() 3612 e = gst_event_new_seek (seeksegment.rate, GST_FORMAT_BYTES, in gst_mxf_demux_seek_push() 3613 seeksegment.flags | GST_SEEK_FLAG_ACCURATE, GST_SEEK_TYPE_SET, in gst_mxf_demux_seek_push() 3636 memcpy (&demux->segment, &seeksegment, sizeof (GstSegment)); in gst_mxf_demux_seek_push() 3823 GstSegment seeksegment; in gst_mxf_demux_seek_pull() local 3875 memcpy (&seeksegment, &demux->segment, sizeof (GstSegment)); in gst_mxf_demux_seek_pull() [all …]
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/ |
D | gsttagdemux.c | 816 GstSegment seeksegment = { 0, }; in gst_tag_demux_seek_pull() local 870 memcpy (&seeksegment, &tagdemux->priv->segment, sizeof (GstSegment)); in gst_tag_demux_seek_pull() 873 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_tag_demux_seek_pull() 878 GST_DEBUG_OBJECT (tagdemux, "New segment %" GST_SEGMENT_FORMAT, &seeksegment); in gst_tag_demux_seek_pull() 905 memcpy (&tagdemux->priv->segment, &seeksegment, sizeof (GstSegment)); in gst_tag_demux_seek_pull()
|
/third_party/gstreamer/gstplugins_good/gst/avi/ |
D | gstavidemux.c | 4580 GstSegment seeksegment = { 0, }; in gst_avi_demux_handle_seek() local 4642 memcpy (&seeksegment, &avi->segment, sizeof (GstSegment)); in gst_avi_demux_handle_seek() 4646 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_avi_demux_handle_seek() 4651 gst_avi_demux_do_seek (avi, &seeksegment, flags); in gst_avi_demux_handle_seek() 4665 memcpy (&avi->segment, &seeksegment, sizeof (GstSegment)); in gst_avi_demux_handle_seek() 4724 GstSegment seeksegment; in avi_demux_handle_seek_push() local 4755 memcpy (&seeksegment, &avi->segment, sizeof (GstSegment)); in avi_demux_handle_seek_push() 4756 gst_segment_do_seek (&seeksegment, rate, format, flags, in avi_demux_handle_seek_push() 4760 cur = seeksegment.position; in avi_demux_handle_seek_push() 4780 if (seeksegment.rate < 0) in avi_demux_handle_seek_push()
|
/third_party/gstreamer/gstplugins_good/gst/rtsp/ |
D | gstrtspsrc.c | 2689 GstSegment seeksegment = { 0, }; in gst_rtspsrc_perform_seek() local 2747 memcpy (&seeksegment, &src->segment, sizeof (GstSegment)); in gst_rtspsrc_perform_seek() 2752 gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_rtspsrc_perform_seek() 2757 if ((stop = seeksegment.stop) == -1) in gst_rtspsrc_perform_seek() 2758 stop = seeksegment.duration; in gst_rtspsrc_perform_seek() 2782 memcpy (&src->segment, &seeksegment, sizeof (GstSegment)); in gst_rtspsrc_perform_seek() 2822 gst_rtspsrc_play (src, &seeksegment, FALSE, seek_style); in gst_rtspsrc_perform_seek()
|
/third_party/gstreamer/gstplugins_good/gst/isomp4/ |
D | qtdemux.c | 1647 GstSegment seeksegment; in gst_qtdemux_do_seek() local 1692 memcpy (&seeksegment, &qtdemux->segment, sizeof (GstSegment)); in gst_qtdemux_do_seek() 1697 if (!gst_segment_do_seek (&seeksegment, rate, format, flags, in gst_qtdemux_do_seek() 1703 ret = gst_qtdemux_perform_seek (qtdemux, &seeksegment, seqnum, flags); in gst_qtdemux_do_seek() 1707 ret = gst_qtdemux_perform_seek (qtdemux, &seeksegment, seqnum, flags); in gst_qtdemux_do_seek() 1721 memcpy (&qtdemux->segment, &seeksegment, sizeof (GstSegment)); in gst_qtdemux_do_seek()
|
/third_party/gstreamer/gstreamer/ |
D | ChangeLog | 19978 baseparse: Fix extrapolation of seeksegment.stop
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 72443 The seeksegment was no longer used since the switch to calculating segments
|