fix issue when one raw GstBuffer is shown more than once sink-raw-yuv
authorZhao Halley <halley.zhao@intel.com>
Wed, 12 Sep 2012 01:16:33 +0000 (09:16 +0800)
committerZhao Halley <halley.zhao@intel.com>
Wed, 12 Sep 2012 07:06:40 +0000 (15:06 +0800)
commitdf3c1864997355541a21bcf95cbe5d4c3b17b6f9
tree11ed461a1aeadc25a921c45cc61cdab8f3084a87
parentc93d7a985a70cadb363a6f9414131da20a7e8ce9
fix issue when one raw GstBuffer is shown more than once

one frame may show more than once
  either in preroll or in playing state,
  in pause state
we add pre_uploaded_surface in GstVaapiSink for performance optimization,
it also helps to track surface/image state accurately
gst-libs/gst/vaapi/gstvaapiuploader.c
gst/vaapi/gstvaapisink.c
gst/vaapi/gstvaapisink.h