gst/mpegdemux/gstmpegdemux.*: The position member in the newsegment event corresponds to the stream_time of the segme...
Original commit message from CVS: * gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data): * gst/mpegdemux/gstmpegdemux.h: The position member in the newsegment event corresponds to the stream_time of the segment start position.
This commit is contained in:
parent
951306959d
commit
32a2faa550
@ -1,3 +1,10 @@
|
|||||||
|
2008-12-29 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/mpegdemux/gstmpegdemux.c: (gst_flups_demux_send_data):
|
||||||
|
* gst/mpegdemux/gstmpegdemux.h:
|
||||||
|
The position member in the newsegment event corresponds to the
|
||||||
|
stream_time of the segment start position.
|
||||||
|
|
||||||
2008-12-29 Wim Taymans <wim.taymans@collabora.co.uk>
|
2008-12-29 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: Robin Stocker <robin at nibor dot org>
|
Patch by: Robin Stocker <robin at nibor dot org>
|
||||||
|
@ -480,7 +480,10 @@ gst_flups_demux_send_data (GstFluPSDemux * demux, GstFluPSStream * stream,
|
|||||||
stop = timestamp;
|
stop = timestamp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
time = start;
|
if (GST_CLOCK_TIME_IS_VALID (demux->base_time) && start > demux->base_time)
|
||||||
|
time = start - demux->base_time;
|
||||||
|
else
|
||||||
|
time = 0;
|
||||||
|
|
||||||
#ifdef HAVE_NEWSEG_FULL
|
#ifdef HAVE_NEWSEG_FULL
|
||||||
GST_INFO_OBJECT (demux, "sending new segment: rate %g applied_rate %g "
|
GST_INFO_OBJECT (demux, "sending new segment: rate %g applied_rate %g "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user