[Bug 786201] player: media-info duration field not updated upon duration-changed signal

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 14 08:29:08 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=786201

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 357484:
 --> (https://bugzilla.gnome.org/review?bug=786201&attachment=357484)

::: gst-libs/gst/player/gstplayer.c
@@ +1510,3 @@
+  g_mutex_lock (&self->lock);
+  if (self->media_info) {
+    self->media_info->duration = duration;

Actually not entirely sure anymore. I think the idea was that the media info
and everything inside it is immutable, and whenever something changes the whole
media info is recreated (while re-using any existing streams that did not
change). Can you double check in other places?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list