h264parse: introduce new state tracking variables.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 25 Jun 2014 09:06:41 +0000 (11:06 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 1 Jul 2014 14:26:48 +0000 (16:26 +0200)
commit7bb6443bfbaaddfe1f48617ba5f58518053736ab
tree5590d530e1d737b0e282f3a6be76afa6c90cb8cd
parent5601c875989df92373abf72ba7c89091244c6f6d
h264parse: introduce new state tracking variables.

Improve parser state tracking by introducing new flags reflecting
it: "got-sps", "got-pps" and "got-slice". This is an addition for
robustness purposes.

Older have_sps and have_pps variables are kept because they have
a different meaning. i.e. they are used for deciding on when to
submit updated caps or not, and rather mean "have new SPS/PPS to
be submitted?"

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/videoparsers/gsth264parse.c
gst/videoparsers/gsth264parse.h