h265parse: update parser state and header flag when using fallback sps
authorNicola Murino <nicola.murino@gmail.com>
Mon, 8 Apr 2019 17:24:00 +0000 (19:24 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Sun, 16 Jun 2019 00:02:10 +0000 (20:02 -0400)
commit59d8e56e953d3b51c6994b2aae1832493172e71e
tree9b3708448f459dbbaf46ef20767030eacb6db46d
parentc22b52ef4d779075da9f5d5fe372b8c1a604784e
h265parse: 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
gst/videoparsers/gsth265parse.c