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 781437 - rtspsrc: set npt-stop to segment stop time
rtspsrc: set npt-stop to segment stop time
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-04-18 09:14 UTC by Wonchul Lee
Modified: 2018-11-03 15:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rtspsrc: Set ntp-stop to segment stop time (900 bytes, patch)
2017-04-18 09:15 UTC, Wonchul Lee
none Details | Review
rtspsrc: Set ntp-stop to segment stop time #2 (1.04 KB, patch)
2017-04-20 07:01 UTC, Wonchul Lee
none Details | Review

Description Wonchul Lee 2017-04-18 09:14:53 UTC
In seekable rtsp playback, the ntp-start/stop value used for indicating starting/ending time of segment. The ntp-stop was always set to the segment->duration, so fixed it to set segment.stop when it is valid value. This can make segment seeking on rtsp playback.
Comment 1 Wonchul Lee 2017-04-18 09:15:42 UTC
Created attachment 349985 [details] [review]
rtspsrc: Set ntp-stop to segment stop time
Comment 2 Sebastian Dröge (slomo) 2017-04-19 09:34:54 UTC
Comment on attachment 349985 [details] [review]
rtspsrc: Set ntp-stop to segment stop time

Makes sense, but for the old case... wouldn't stop = segment->start + segment->duration make more sense?

Do you have a testcase for reproducing the problem here, e.g. with gst-plugins-base/tests/examples/playback on a simple gst-rtsp-server?
Comment 3 Wonchul Lee 2017-04-20 07:01:04 UTC
Created attachment 350100 [details] [review]
rtspsrc: Set ntp-stop to segment stop time #2

(In reply to Sebastian Dröge (slomo) from comment #2)
> Comment on attachment 349985 [details] [review] [review]
> rtspsrc: Set ntp-stop to segment stop time
> 
> Makes sense, but for the old case... wouldn't stop = segment->start +
> segment->duration make more sense?

Yes that make more sense, fixed it to set segment->start + segment->duration in that case, thanks.

> 
> Do you have a testcase for reproducing the problem here, e.g. with
> gst-plugins-base/tests/examples/playback on a simple gst-rtsp-server?

I tested it with rtsp://184.72.239.149/vod/mp4:BigBuckBunny_115k.mov , but I don't have a testcase what can share now. The playback example seems to be needed some work to set stop position for segment seek.
Comment 4 GStreamer system administrator 2018-11-03 15:18:22 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/365.