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.
This commit is contained in:
Andy Wingo 2006-04-19 11:58:14 +00:00
parent 4a4637e756
commit f0a20f8343
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
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

View file

@ -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)