mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
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:
parent
4a4637e756
commit
f0a20f8343
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue