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 644369 - rsndvdbin doesn't properly update the stream duration
rsndvdbin doesn't properly update the stream duration
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.33
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-10 02:34 UTC by Torrie Fischer
Modified: 2013-01-06 14:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
send duration messages (1.76 KB, patch)
2011-12-13 22:49 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
committed Details | Review

Description Torrie Fischer 2011-03-10 02:34:16 UTC
When switching dvd chapters, rsndvdbin doesn't seem to be sending out any duration messages.
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2011-12-13 22:49:51 UTC
Created attachment 203408 [details] [review]
send duration messages

while the messages get send with the right values, something in playbin tries super hard to ignore them and totem complains:
gstbus.c:762:gst_bus_source_dispatch:<bus1> source 0x12b7cf0 calling dispatch with duration message from element 'dvdsrc': GstMessageDuration, format=(GstFormat)GST_FORMAT_TIME, duration=(gint64)480000000;
   query gstquery.c:363:gst_query_new: creating new query 0x2248840 duration
playbin2 gstplaybin2.c:2151:gst_play_bin_update_cached_duration_from_query:<play> Updating cached duration from query
playbin2 gstplaybin2.c:2153:gst_play_bin_update_cached_duration_from_query:<play> New duration is: -1
   totem bacon-video-widget-gst-0.10.c:2187:bvw_bus_message_cb: Failed to query duration after DURATION message?!
Comment 2 Tim-Philipp Müller 2013-01-06 13:33:18 UTC
Looks like this was committed some time ago:

commit b84271faa6510475079c7578e23ca60d19321141
Author: Stefan Sauer <ensonic@users.sf.net>
Date:   Tue Dec 13 23:43:59 2011 +0100

    resindvd: send duration message on duration updates
    
    When we know a new duration, report it. Add more logging.