qtdemux: Add check condition for fail case in get_duration function
authorJimmy Ohn <yongjin.ohn@lge.com>
Tue, 22 Mar 2016 04:15:20 +0000 (13:15 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 24 Mar 2016 12:35:47 +0000 (14:35 +0200)
commitc633f2aab75a8f3e049708569b132a81879e00e3
tree22a55cea152273eb112251959f1619e57d2a1da4
parent0ef9e6d1390e2ea81ad1521e896697f742b05def
qtdemux: Add check condition for fail case in get_duration function

Currently, get_duration function always return the TRUE even though
it can't be set duration correctly. So, we need to add the else condition
about the fail case. Also, we already set the GST_CLOCK_TIME_NONE
in this function. So I have modify it which is related code in some
function.

https://bugzilla.gnome.org/show_bug.cgi?id=763968
gst/isomp4/qtdemux.c