codecs: Add minimal state validation
authorSeungha Yang <seungha@centricular.com>
Mon, 23 Mar 2020 05:40:52 +0000 (14:40 +0900)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 9 Apr 2020 19:33:56 +0000 (19:33 +0000)
commit5a29917a63a1706e6b10b490fefa22759e67e856
treed7f901b699f3e74387f3347d6aa7da72e6d22cb3
parenta2f68762b08a038b1c9f030aa9807b162de3656d
codecs: Add minimal state validation

... to prevent requesting decoding before the preparation.
For instance, baseclass should not request decoding a picture if there
is no parsed valid headers, since subclass is most likely
not ready to decoding it.
gst-libs/gst/codecs/gsth264decoder.c
gst-libs/gst/codecs/gsth265decoder.c
gst-libs/gst/codecs/gstvp9decoder.c