After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 751213 - tools: gst-play: fix seeking issue
tools: gst-play: fix seeking issue
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
unspecified
Other Linux
: Normal normal
: 1.5.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-06-19 10:51 UTC by Vineeth
Modified: 2015-06-19 15:06 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix seek issue (1.40 KB, patch)
2015-06-19 10:52 UTC, Vineeth
committed Details | Review

Description Vineeth 2015-06-19 10:51:17 UTC
For positive seeking segment.stop value will be -1,
 when we change rate to -1, then the stop value will be udpated
 with the current position. And then again if we change rate to 1,
 the segment.stop value does not get updated and remains as position 
 where we last changed rate to -1. Hence playback stops at that point.

 In case of positive rates, call gst_element_new_seek with correct values
Comment 1 Vineeth 2015-06-19 10:52:19 UTC
Created attachment 305677 [details] [review]
fix seek issue
Comment 2 Nicolas Dufresne (ndufresne) 2015-06-19 15:06:32 UTC
Review of attachment 305677 [details] [review]:

Thanks.

commit eec791a37fd9d58d3b6f283f7b606047b4a32dba
Author: Vineeth T M <vineeth.tm@samsung.com>
Date:   Fri Jun 19 19:51:25 2015 +0900

    tools: gst-play: fix seeking issue