matroskademux: fix assert on fps lower than 1
authorPer x Johansson <perxjoh@axis.com>
Tue, 11 Mar 2014 13:56:30 +0000 (14:56 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 12 Mar 2014 08:08:31 +0000 (09:08 +0100)
commit2a362c6fb1dc4b734af57d060cd7d612b6237f91
tree6a1ff1fb2cab0ebe35c0a8ab50e70db61f2ba2b0
parent373eceef7c6f5e2e113ef8e2703535c2a2280dce
matroskademux: fix assert on fps lower than 1

Fixes assert caused by gst_duration_to_fraction calling
gst_util_uint64_scale_int with a denominator of 0 when fps is less
than 1.

https://bugzilla.gnome.org/show_bug.cgi?id=726106
gst/matroska/matroska-demux.c