baseparse: minor code simplification
authorTim-Philipp Müller <tim@centricular.com>
Sat, 15 Aug 2015 15:39:40 +0000 (16:39 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 15 Aug 2015 17:41:31 +0000 (18:41 +0100)
commitbc1fb2d8b06d99e0c9a95e156d9aa13cf9487243
tree99a4ae855fd20131de6df2e2fc7072e145e2d220
parent1176fbf6dc96f705a8c15c4dba5ecd33cc8d8d39
baseparse: minor code simplification

Use gst_pad_peer_query_duration() and remove a few
unnecessary levels of indentation. Rest of code might
looks a bit questionable, but leave it as is for now.
libs/gst/base/gstbaseparse.c