videotimecode: Validate for drop-frame correctness
authorGeorg Lippitsch <glippitsch@toolsonair.com>
Tue, 21 Feb 2017 10:59:12 +0000 (11:59 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 23 Feb 2017 17:56:26 +0000 (19:56 +0200)
commitd15ad75cafe5b73a6c75d5c27f8582e3e5654a1d
treea6fc7fa3c38784b9c31107fa3362948924492dcd
parentb3df5786a94a9d40adb88fd3f179f91cd51644de
videotimecode: Validate for drop-frame correctness

In gst_video_time_code_is_valid, also check for invalid
ranges when using drop-frame TC. Refactor some code which
broke after the check was added.

https://bugzilla.gnome.org/show_bug.cgi?id=779010
gst-libs/gst/video/gstvideotimecode.c
tests/check/libs/videotimecode.c