GNOME Bugzilla – Bug 644369
rsndvdbin doesn't properly update the stream duration
Last modified: 2013-01-06 14:36:51 UTC
When switching dvd chapters, rsndvdbin doesn't seem to be sending out any duration messages.
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?!
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.