ext/ffmpeg/gstffmpegdemux.c: timestamp is a GstClockTime, not a double..
authorLuca Ognibene <luogni@tin.it>
Mon, 27 Jun 2005 21:51:37 +0000 (21:51 +0000)
committerLuca Ognibene <luogni@tin.it>
Mon, 27 Jun 2005 21:51:37 +0000 (21:51 +0000)
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

ChangeLog
ext/ffmpeg/gstffmpegdemux.c

index cfa9ffe..479bdaa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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>
index 3b714c0..3677d59 100644 (file)
@@ -656,7 +656,7 @@ gst_ffmpegdemux_loop (GstElement * element)
     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);
     }