dashdemux: post-review fixup of UTCTiming element
authorAlex Ashley <bugzilla@ashley-family.net>
Thu, 13 Aug 2015 17:21:29 +0000 (18:21 +0100)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 14 Aug 2015 09:47:20 +0000 (06:47 -0300)
commit1640ee2b339fb35cd8eb5779875242e347697265
treeff35b54b21fda364bc6041698781b0cf5a27d842
parent95c705ae8f48acb4504ac168b4a8c16d77cae8da
dashdemux: post-review fixup of UTCTiming element

This commit addresses the following items from the code review:
    use a portable way to define NTP_TO_UNIX_EPOCH,
    fix memory leak on error, and
    add documentation to UTCTiming parse functions

Using LL is not portable, so the G_GUINT64_CONSTANT needs to be instead.

If an error occurs during DNS resolution, the GError was not being
released, causing a memory leak.

https://bugzilla.gnome.org/show_bug.cgi?id=752413
ext/dash/gstdashdemux.c