Original commit message from CVS:
* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
timestamp is a GstClockTime, not a double..
fix #309149 and maybe others bug
+2005-06-27 Luca Ognibene <luogni@tin.it>
+
+ * ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
+ timestamp is a GstClockTime, not a double..
+ fix #309149 and maybe others bug
+
2005-06-27 Daniel Fischer <dan@f3c.com>
reviewed by: Luca Ognibene <luogni@tin.it>
GST_BUFFER_SIZE (outbuf) = pkt.size;
if (pkt.pts != AV_NOPTS_VALUE) {
- GST_BUFFER_TIMESTAMP (outbuf) = (gdouble) (pkt.pts +
+ GST_BUFFER_TIMESTAMP (outbuf) = (GstClockTime) (pkt.pts +
stream->start_time) * GST_SECOND / AV_TIME_BASE;
demux->last_ts[stream->index] = GST_BUFFER_TIMESTAMP (outbuf);
}