gstvaapidecode.c: get_caps should return with sink caps template if the decoder is...
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 1 Aug 2011 09:45:19 +0000 (12:45 +0300)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 1 Aug 2011 09:45:19 +0000 (12:45 +0300)
commit1f7875808bc6b372d3a207a2176a09b5b084f4bd
treeae67c381b69e31300dce5ca6609b6203791fa76d
parent6ecf3a58f368afc0f4f03e467e7ff5ebf909becb
gstvaapidecode.c: get_caps should return with sink caps template if the decoder is in NULL state.
Case: Otherwise all the time decoder will open its own xdisplay instead of taking it from the downstream element, which is not reliable. (eg: DISPLAY is not 0, running with wayland)
gst/vaapidecode/gstvaapidecode.c
gst/vaapidecode/gstvaapidecode.h