summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-07-27 18:49:13 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-09-09 17:17:07 +0200
commitf85f5527115a02f815c18cbbd0462d1badd662a5 (patch)
tree65a726a74fcfd8b74bf48d61bc646e036dcb52d4
parentaad781204f767900871a20f9005dcf5d0d9c610d (diff)
vaapidecode: don't lost GLTextureUpload on seek
When seeking, the decoder is reset, but the buffer pool is not re-negotiated, but in reset_full() the code forgets if the negotiated buffer pool has the GLTextureUpload meta. The decoder knows that GLTextureUpload meta was negotiated in decide_allocation(), but this method is not called when seeking. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=752929
-rw-r--r--gst/vaapi/gstvaapidecode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gst/vaapi/gstvaapidecode.c b/gst/vaapi/gstvaapidecode.c
index b40dd978..582368ec 100644
--- a/gst/vaapi/gstvaapidecode.c
+++ b/gst/vaapi/gstvaapidecode.c
@@ -698,8 +698,6 @@ gst_vaapidecode_reset_full (GstVaapiDecode * decode, GstCaps * caps,
{
GstVaapiCodec codec;
- decode->has_texture_upload_meta = FALSE;
-
/* Reset tracked frame size */
decode->current_frame_size = 0;