h264parse: avoid pushing SPS/PPS at start only if both are found in stream
authorAlessandro Decina <alessandro.d@gmail.com>
Mon, 19 Dec 2011 11:32:26 +0000 (12:32 +0100)
committerLuciana Fujii Pontello <luciana.fujii@collabora.co.uk>
Fri, 4 May 2012 01:17:35 +0000 (21:17 -0400)
commite21960c74497954c5201bd7b734f419c06680335
tree09d45f8bf88eb60d9e6d4ed1c1088ac92ffc42e0
parent1031261ccdb7f6fb5564a17067373c0be5d266ba
h264parse: avoid pushing SPS/PPS at start only if both are found in stream

Avoid injecting SPS/PPS nals only if both are already present in the stream.
Fixes some AVC clips that happen to have only PPS nals in stream.
gst/videoparsers/gsth264parse.c
gst/videoparsers/gsth264parse.h