qtmux: Timecode track fixes for STSD entry
authorVivia Nikolaidou <vivia@toolsonair.com>
Fri, 27 Jan 2017 14:14:16 +0000 (16:14 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Fri, 27 Jan 2017 14:41:34 +0000 (16:41 +0200)
commitaf47e93b97a3d33e6a6da6a2651269567cf8701d
treedbb1b4c49da1c187e8e13d6525086e493d420be7
parent03db374144e7f62cefa5190548519692990ea8bc
qtmux: Timecode track fixes for STSD entry

The n_frames field (frames per second) should follow the nominal frame
rate for drop-frame timecodes.

Also, the trak's timescale (and duration, accordingly) should follow the
STSD entry's timescale and frame duration (fps_n and fps_d accordingly),
not the other way around.

https://bugzilla.gnome.org/show_bug.cgi?id=777832
gst/isomp4/atoms.c