From: <wi...@ke...> - 2006-04-19 11:58:33
|
CVS Root: /cvs/gstreamer Module: gst-python Changes by: wingo Date: Wed Apr 19 2006 11:58:26 UTC Log message: 2006-04-19 Andy Wingo <wi...@po...> * examples/remuxer.py (GstPlayer.seek): Don't do accurate seeks, because the output won't be readable without a keyframe anyway. Modified files: . : ChangeLog examples : remuxer.py Links: http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/ChangeLog.diff?r1=1.445&r2=1.446 http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gst-python/examples/remuxer.py.diff?r1=1.3&r2=1.4 ====Begin Diffs==== Index: ChangeLog =================================================================== RCS file: /cvs/gstreamer/gst-python/ChangeLog,v retrieving revision 1.445 retrieving revision 1.446 diff -u -d -r1.445 -r1.446 --- ChangeLog 19 Apr 2006 08:50:48 -0000 1.445 +++ ChangeLog 19 Apr 2006 11:58:13 -0000 1.446 @@ -1,5 +1,10 @@ 2006-04-19 Andy Wingo <wi...@po...> + * examples/remuxer.py (GstPlayer.seek): Don't do accurate seeks, + because the output won't be readable without a keyframe anyway. + +2006-04-19 Andy Wingo <wi...@po...> * examples/remuxer.py: Another code dump. I know it breaks the freeze but it's just a wee example :) Index: remuxer.py RCS file: /cvs/gstreamer/gst-python/examples/remuxer.py,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- remuxer.py 19 Apr 2006 08:50:48 -0000 1.3 +++ remuxer.py 19 Apr 2006 11:58:14 -0000 1.4 @@ -75,7 +75,7 @@ """ gst.debug("seeking to %r" % location) event = gst.event_new_seek(1.0, gst.FORMAT_TIME, - gst.SEEK_FLAG_FLUSH | gst.SEEK_FLAG_ACCURATE, + gst.SEEK_FLAG_FLUSH, gst.SEEK_TYPE_SET, location, gst.SEEK_TYPE_NONE, 0) |