openframeworks / openframeworks/openFrameworks
[Fedora 40] videoPlayer example does not play backwards when using negative speed using the mouse.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 10.4k
- Forks
- 2.6k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 9
Description
The video player example does not play backwards with negative speed. As soon as the speed is set to negative the following error appears:
(videoPlayerExample:1245556): GStreamer-CRITICAL **: 20:01:26.076: gst_segment_position_from_running_time_full: assertion 'segment->format == format' failed
(videoPlayerExample:1245556): GStreamer-CRITICAL **: 20:01:26.076: gst_segment_do_seek: assertion 'segment->format == format' failed
The error does not occur every frame, only when the speed changes of sign. Once the speed returns to be positive the player works normally (the example does not crash).
Fedora 40
gst-launch-1.0 version 1.24.11
GStreamer 1.24.11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the videoPlayer example and reproduce the problem by changing the mouse-controlled speed from positive to negative on Fedora 40 with GStreamer 1.24.11. Read the playback and seek handling around the sign change, then verify that reverse playback works without the reported GStreamer critical assertions and continues to work when returning to positive speed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100