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 516311 - [dvdreadsrc] add readonly "chapters" element property to expose chapter count
[dvdreadsrc] add readonly "chapters" element property to expose chapter count
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other All
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-13 22:19 UTC by Tal Shalif
Modified: 2008-02-13 23:18 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
patch adding 'chapters' property on dvdreadsrc.c r1.50 (1.37 KB, patch)
2008-02-13 22:27 UTC, Tal Shalif
rejected Details | Review

Description Tal Shalif 2008-02-13 22:19:18 UTC
Add a readonly property through which one can retrieve the number of chapters in this DVD title. There is already a "chapter" read/write property, but there is no way to tell how many are available. Having the chapter count information through the "chapters" property will enable an application to create a dynamic chapter-selection menu list, for example.
Comment 1 Tal Shalif 2008-02-13 22:27:22 UTC
Created attachment 105187 [details] [review]
patch adding 'chapters' property on dvdreadsrc.c r1.50
Comment 2 Jan Schmidt 2008-02-13 22:30:55 UTC
You can already do this by querying the duration in chapters format:
  gst_format_get_by_nick("chapters")
Comment 3 Tim-Philipp Müller 2008-02-13 23:18:05 UTC
I don't think a property adds much to the already-existing query (and one would probably want the same for titles + angles too then).