diff options
author | Andy Wingo <wingo@pobox.com> | 2006-04-19 11:58:14 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2006-04-19 11:58:14 +0000 |
commit | f0a20f8343f8d251d1c7eb5c103383982f3b2be6 (patch) | |
tree | fdb1bb94be47092e4176429283ca34e6c3b48773 | |
parent | 4a4637e756e8bf98a26ae12b9a888a9a26ff7e48 (diff) |
examples/remuxer.py (GstPlayer.seek): Don't do accurate seeks, because the output won't be readable without a keyfram...
Original commit message from CVS:
2006-04-19 Andy Wingo <wingo@pobox.com>
* examples/remuxer.py (GstPlayer.seek): Don't do accurate seeks,
because the output won't be readable without a keyframe anyway.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | examples/remuxer.py | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2006-04-19 Andy Wingo <wingo@pobox.com> + * 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 <wingo@pobox.com> + * examples/remuxer.py: Another code dump. I know it breaks the freeze but it's just a wee example :) diff --git a/examples/remuxer.py b/examples/remuxer.py index 88b0090..b31d967 100644 --- a/examples/remuxer.py +++ b/examples/remuxer.py @@ -75,7 +75,7 @@ class GstPlayer: """ 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) |