qtdemux: fix assert when moof containing one sample
authorNael Ouedraogo <nael.ouedraogo@crf.canon.fr>
Fri, 22 Sep 2017 16:41:52 +0000 (18:41 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 10 Oct 2017 15:03:42 +0000 (18:03 +0300)
commit5874bafa4f17592fdee41d49bfe6f75c1d44f7ec
tree8b21147eb4f69b118e6cd20e4a2e90e8304e4df3
parentfb952e3470dc2d9483562123c2862c619b6ea6e5
qtdemux: fix assert when moof containing one sample

Avoid computing frame rate when a stream contain moof with only one
sample, to avoid an assert. The moof is considered as still picture.

The same is already done for one sample given in the moov.

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