h264: fix conflicts during merge and set VASurfaceID appropriately.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 6 Nov 2012 12:22:43 +0000 (14:22 +0200)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 6 Nov 2012 12:22:43 +0000 (14:22 +0200)
commit2c43df6513e442b923aeaeab3e59f6107c3a1b40
treeee2973132bc79b83e2f681ace88f4bf806779446
parentb59630532fd79b02b3ecfb1f80cb90f40231558d
h264: fix conflicts during merge and set VASurfaceID appropriately.

VASurface allocation happens only when the first buffer reaches
for decoding.VASurfaceID should be assigen correclty to
VAPictureParameterBufferH264->VAPictureH264->picture_id after the
surface allocation.
gst-libs/gst/vaapi/gstvaapidecoder_h264.c