From: <bi...@fr...> - 2006-02-17 09:58:17
|
CVS Root: /cvs/gstreamer Module: gst-plugins-ugly Changes by: bilboed Date: Fri Feb 17 2006 01:54:55 PST Log message: * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_file): Take into account the file properties preroll value for timestamping/newsegment. It's weird this value was commented out. Modified files: . : ChangeLog gst/asfdemux : gstasfdemux.c Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-ugly/ChangeLog.diff?r1=1.1960&r2=1.1961 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c.diff?r1=1.92&r2=1.93 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-plugins-ugly/ChangeLog,v retrieving revision 1.1960 retrieving revision 1.1961 diff -u -d -r1.1960 -r1.1961 --- ChangeLog 16 Feb 2006 17:57:59 -0000 1.1960 +++ ChangeLog 17 Feb 2006 09:54:42 -0000 1.1961 @@ -1,3 +1,9 @@ +2006-02-17 Edward Hervey <ed...@fl...> + + * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_file): + Take into account the file properties preroll value for + timestamping/newsegment. It's weird this value was commented out. 2006-02-16 Wim Taymans <wi...@fl...> * gst/asfdemux/Makefile.am: Index: gstasfdemux.c RCS file: /cvs/gstreamer/gst-plugins-ugly/gst/asfdemux/gstasfdemux.c,v retrieving revision 1.92 retrieving revision 1.93 diff -u -d -r1.92 -r1.93 --- gstasfdemux.c 15 Feb 2006 15:48:07 -0000 1.92 +++ gstasfdemux.c 17 Feb 2006 09:54:43 -0000 1.93 @@ -1408,7 +1408,10 @@ /* FIXME: do we need object.send_time as well? what is it? */ demux->play_time = (guint64) object.play_time * (GST_SECOND / 10000000); - demux->preroll = 0; /* object.preroll; */ + demux->preroll = object.preroll; + GST_DEBUG_OBJECT (demux, + "play_time %" GST_TIME_FORMAT " preroll %" GST_TIME_FORMAT, + GST_TIME_ARGS (demux->play_time), GST_TIME_ARGS (demux->preroll)); gst_segment_set_duration (&demux->segment, GST_FORMAT_TIME, demux->play_time); |