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 342238 - API: gst_element_seek_simple
API: gst_element_seek_simple
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-18 11:40 UTC by Tim-Philipp Müller
Modified: 2006-05-19 10:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed API addition (3.41 KB, patch)
2006-05-18 11:41 UTC, Tim-Philipp Müller
none Details | Review
proposed API addition (3.41 KB, patch)
2006-05-18 11:41 UTC, Tim-Philipp Müller
none Details | Review

Description Tim-Philipp Müller 2006-05-18 11:40:49 UTC
I think it would be nice to have a simplified version of the gst_element_seek() API that's a bit less confusing for beginners.

Patch attached, also points out some common pitfalls (for beginners) in the docs blurb.
Comment 1 Tim-Philipp Müller 2006-05-18 11:41:26 UTC
Created attachment 65757 [details] [review]
proposed API addition
Comment 2 Tim-Philipp Müller 2006-05-18 11:41:35 UTC
Created attachment 65758 [details] [review]
proposed API addition
Comment 3 Wim Taymans 2006-05-19 07:39:13 UTC
I think you want the first seek type to be GST_SEEK_TYPE_SET. Otherwise, no problem (in gstutils.c).
Comment 4 Tim-Philipp Müller 2006-05-19 10:29:39 UTC
> I think you want the first seek type to be GST_SEEK_TYPE_SET.

Indeed (had that already fixed locally, forgot to update patch though).


Committed with GST_SEEK_TYPE_SET and additional typo fixes in the docs:

 2006-05-19  Tim-Philipp Müller  <tim at centricular dot net>

        * docs/gst/gstreamer-sections.txt:
        * win32/common/libgstreamer.def:
        * gst/gstutils.c: (gst_element_seek_simple):
        * gst/gstutils.h:
          API: add gst_element_seek_simple() (#342238).