gstreamer/gst/vaapi
Víctor Manuel Jáquez Leal 1bd810fe99 vaapidecode: handle flush() vmethod
Since GStreamer 1.2 the vmethod reset() in GstVideoDecoderClass was deprecated
and flush() was added.

This patch set the vmethod flush() if the installed GStreamer version is 1.2 or
superior. Otherwise, reset() is set.

v2: 1) In order to avoid symbol collision, the old method gst_vaapidecode_flush()
       was renamed to gst_vaapidecode_internal_flush().
    2) The new vmethod flush() always do a hard full reset.
v3: 1) Call gst_vaapidecode_internal_flush() first in flush() vmethod, in order to
       gather all collected data with  gst_video_decoder_have_frame()

https://bugzilla.gnome.org/show_bug.cgi?id=742922

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
2015-03-16 23:36:33 +02:00
..
gstvaapi.c plugins: Disable vaapidecodebin for GStreamer < 1.4 2015-03-03 12:31:11 +02:00
gstvaapidecode.c vaapidecode: handle flush() vmethod 2015-03-16 23:36:33 +02:00
gstvaapidecode.h vaapidecode: Switch back to Single thread implementation 2015-03-02 14:46:38 +02:00
gstvaapidecodebin.c plugins: Add a vaapidecodebin element 2015-03-02 16:51:55 +02:00
gstvaapidecodebin.h vaapidecodebin: Avoid usage of "__" prefix in macro names 2015-03-03 12:37:41 +02:00
gstvaapidownload.c download: use GstVideoInfo facilities to build output caps. 2013-12-21 12:35:24 +01:00
gstvaapidownload.h plugins: add new base object, store display in there. 2013-12-18 16:38:57 +01:00
gstvaapiencode.c encode: Attach the codec-data to out caps only based on negotiated caps 2014-10-29 15:46:12 +02:00
gstvaapiencode.h encode: Attach the codec-data to out caps only based on negotiated caps 2014-10-29 15:46:12 +02:00
gstvaapiencode_h264.c encode: Attach the codec-data to out caps only based on negotiated caps 2014-10-29 15:46:12 +02:00
gstvaapiencode_h264.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_jpeg.c plugins: Add JPEG encoder element 2015-02-04 11:18:29 +02:00
gstvaapiencode_jpeg.h plugins: Add JPEG encoder element 2015-02-04 11:18:29 +02:00
gstvaapiencode_mpeg2.c legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_mpeg2.h legal: update copyright notice dates. 2014-01-22 19:02:35 +01:00
gstvaapiencode_vp8.c plugins: Add VP8 Encoder 2015-02-13 13:45:32 +02:00
gstvaapiencode_vp8.h plugins: Add VP8 Encoder 2015-02-13 13:45:32 +02:00
gstvaapiparse.c plugins: add built-in video parsers as "vaapiparse" element. 2014-06-13 17:17:07 +02:00
gstvaapiparse.h plugins: add built-in video parsers as "vaapiparse" element. 2014-06-13 17:17:07 +02:00
gstvaapipluginbase.c plugins: fix detection of upstream v4l2src element. 2015-03-02 13:41:29 +01:00
gstvaapipluginbase.h plugins: ensure VA display matches GL context expectations. 2015-02-24 15:20:03 +01:00
gstvaapipluginutil.c vaapidecode: delayed src caps negotiation 2015-02-26 12:24:55 +02:00
gstvaapipluginutil.h vaapidecode: delayed src caps negotiation 2015-02-26 12:24:55 +02:00
gstvaapipostproc.c vaapipostproc: always activate buffer pool 2015-03-06 12:16:17 +02:00
gstvaapipostproc.h vaapipostproc: always activate buffer pool 2015-03-06 12:16:17 +02:00
gstvaapisink.c vaapisink: fix minor memory leak in debug mode. 2015-03-06 10:37:40 +01:00
gstvaapisink.h vaapisink: add support for GstColorBalance interface. 2014-07-31 18:49:55 +02:00
gstvaapiupload.c plugins: factor out pad caps. 2013-12-18 16:38:57 +01:00
gstvaapiupload.h plugins: add new base object, store display in there. 2013-12-18 16:38:57 +01:00
gstvaapiuploader.c videopool: add optional flags for surface pool allocation. 2015-01-27 18:11:45 +01:00
gstvaapiuploader.h plugins: re-indent all video processing related source code. 2014-11-24 14:11:35 +01:00
gstvaapivideobuffer.c display: refine the meaning of display type. 2015-01-27 18:11:44 +01:00
gstvaapivideobuffer.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideobufferpool.c plugins: add initial support for EGL. 2015-02-24 15:20:03 +01:00
gstvaapivideobufferpool.h plugins: add support for dma_buf exports (v4l2src). 2015-01-28 17:36:21 +01:00
gstvaapivideocontext.c plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideocontext.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideoconverter_glx.c texture: move to core libgstvaapi base library. 2015-01-27 18:11:44 +01:00
gstvaapivideoconverter_glx.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideoconverter_x11.c plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideoconverter_x11.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideomemory.c plugins: fix allocation of DMABUF memory. 2015-03-02 13:41:29 +01:00
gstvaapivideomemory.h plugins: drop leftover declaration. 2015-01-28 18:09:40 +01:00
gstvaapivideometa.c plugins: ensure VA surface is current prior to using it. 2014-11-21 15:29:33 +01:00
gstvaapivideometa.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
gstvaapivideometa_texture.c plugins: add support for GstVideoGLTextureOrientation. 2015-02-24 15:20:03 +01:00
gstvaapivideometa_texture.h plugins: re-indent all GstVaapiVideo* related source code. 2014-08-22 15:54:32 +02:00
Makefile.am plugins: Add a vaapidecodebin element 2015-03-02 16:51:55 +02:00