gstreamer/gst-libs/gst
Gwenole Beauchesne e30a518267 h264: fix activation order of picture and sequence parameters.
Delay ensure_context() until we actually need a VA context for allocating
new VA surfaces, and then GstVaapiPictures, but also when a real activation
of a new picture parameter set occurs, thus also implying an activation
of the related sequence parameter set.

The most important thing was to drop the global pps and sps pointers since
they may not have matched the currently activated picture parameter or
sequence parameter sets at the specified decode point.

Anoter positive side-effect is that this cleans up all occurrences of
decode_current_picture() to only keep those useful in decode_picture(),
before a new picture is allocated, or in decode_sequence_end() when
an end-of-stream or end-of-sequence condition occurred.
2012-10-26 16:30:33 +02:00
..
codecparsers codecparsers: fix generation of symlinks. 2012-10-16 16:43:43 +02:00
vaapi h264: fix activation order of picture and sequence parameters. 2012-10-26 16:30:33 +02:00
Makefile.am vaapisink: drop checks for new APIs used by default. 2012-07-20 14:11:42 +02:00