avwait: Better handling of deserialised timecode framerates
authorVivia Nikolaidou <vivia@ahiru.eu>
Fri, 10 Nov 2017 15:18:45 +0000 (17:18 +0200)
committerVivia Nikolaidou <vivia@ahiru.eu>
Fri, 10 Nov 2017 15:28:05 +0000 (17:28 +0200)
commit38120376c6720dcc3cbf171ccc7faa3c5de19e14
tree7151c02479a5bfaf218147418ddfbb36a6c7b3fe
parent71bfbce84de9980a2c5a3c5b6d5407818a67ec2a
avwait: Better handling of deserialised timecode framerates

Now that timecodes support proper serialisation / deserialisation, a
timecode might have an invalid fps_n / fps_d even without using the
target-time-code-string property. Detect those cases and set fps_n/fps_d
properly.
gst/timecode/gstavwait.c
gst/timecode/gstavwait.h