h264parse: update parser state and header flag when using fallback sps
authorNicola Murino <nicola.murino@gmail.com>
Mon, 26 Nov 2018 16:23:21 +0000 (17:23 +0100)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sun, 16 Jun 2019 00:02:10 +0000 (20:02 -0400)
commitc22b52ef4d779075da9f5d5fe372b8c1a604784e
tree8626fe94e33f079b90761c3ef801b894bd4b2393
parent475628c20e548a18c55e6bd8e9c3e3a73cf7192d
h264parse: update parser state and header flag when using fallback sps

When sps parsing fails we use a fallback sps from the caps, since we
have got an sps we need to update parser state and header as in the case the
sps was successfully parsed

Closes #503
gst/videoparsers/gsth264parse.c