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 672165 - rsndvdsrc: post a message with title number and durations
rsndvdsrc: post a message with title number and durations
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other All
: Normal normal
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-03-15 17:11 UTC by Vincent Penquerc'h
Modified: 2012-03-16 19:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
rsndvdsrc: post a message with title number and durations (2.27 KB, patch)
2012-03-15 17:11 UTC, Vincent Penquerc'h
none Details | Review
rsndvdsrc: post a message with title number and durations (2.48 KB, patch)
2012-03-16 11:26 UTC, Vincent Penquerc'h
committed Details | Review

Description Vincent Penquerc'h 2012-03-15 17:11:43 UTC
rsndvdsrc: post a message with title number and durations
Comment 1 Vincent Penquerc'h 2012-03-15 17:11:45 UTC
Created attachment 209863 [details] [review]
rsndvdsrc: post a message with title number and durations
Comment 2 Vincent Penquerc'h 2012-03-15 17:13:15 UTC
It's useful for me to determine which title is most likely the interesting one (the longest).

I'll push soonish if there are no comments.
Comment 3 Sebastian Dröge (slomo) 2012-03-15 17:19:22 UTC
It will be easier to handle if you make it an array of uint64s instead of having title-duration-xy=1234. Also would make the n-titles field obsolete (as you can get that from the array length). Other than that: yes! :)
Comment 4 Vincent Penquerc'h 2012-03-16 11:26:09 UTC
Created attachment 209919 [details] [review]
rsndvdsrc: post a message with title number and durations
Comment 5 Vincent Penquerc'h 2012-03-16 11:29:45 UTC
Pushed with an array instead of separate fields, thanks for the review.

commit 9ebacafc6ad8deb3be29f1972bd209fbb0c4c4ce
Author: Vincent Penquerc'h <vincent.penquerch@collabora.co.uk>
Date:   Thu Mar 15 17:10:18 2012 +0000

    rsndvdsrc: post a message with title number and durations
    
    https://bugzilla.gnome.org/show_bug.cgi?id=672165
Comment 6 Stefan Sauer (gstreamer, gtkdoc dev) 2012-03-16 17:42:33 UTC
Wouldn't it make more sense to use the chapter support for it (bug #540890)?
Comment 7 Vincent Penquerc'h 2012-03-16 18:09:10 UTC
It looks like a good match, yes.
Will this work with hierarchical "chapters" (since a DVD is divided in titles, which are themselves divided in chapters) ? If yes, then sure, this patch can be obsoleted by the chapter stuff. It seems to have recent updates, is this going to be done soon ?
Comment 8 Stefan Sauer (gstreamer, gtkdoc dev) 2012-03-16 19:24:48 UTC
The toc stuff supports hierarchies. When its done, I don't know, the more reviews the better.