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)
committerAlessandro Decina <alessandro.decina@collabora.co.uk>
Mon, 19 Dec 2011 11:54:46 +0000 (12:54 +0100)
commit4022dc23c6be4adc7718341220ecac74d308ac4c
tree1caafad306489b6c2f6f2d330383af59f1b1de3e
parent3ae89bc08319c0e9a4e2d72cbf2d332e87486420
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