[Bug 758410] mpdparser: parsing of dateTime fields does not read the microseconds part

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 20 13:08:19 PST 2015


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

Thiago Sousa Santos <thiagossantos at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #315979|none                        |needs-work
             status|                            |

--- Comment #3 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
Review of attachment 315979:
 --> (https://bugzilla.gnome.org/review?bug=758410&attachment=315979)

::: ext/dash/gstmpdparser.c
@@ +902,1 @@
+    seconds_as_double = second + (gdouble) microsecond / 1000000;

This assumes the field has all the 6 digits all the time. An entry of .123
would need to be 123000 microseconds and not just 123.

-- 
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