mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
gstvaapivideomemory: native format with no derived image
If USE_NATIVE_FORMATS is defined we bail out before configuring the surface info based on the derived image configuration. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=744042
This commit is contained in:
parent
ceb70c3ca6
commit
f0d6b0ac3f
1 changed files with 2 additions and 1 deletions
|
@ -668,7 +668,8 @@ allocator_configure_surface_info (GstVaapiDisplay * display,
|
|||
GST_VIDEO_INFO_WIDTH (vinfo), GST_VIDEO_INFO_HEIGHT (vinfo));
|
||||
|
||||
/* nothing to configure */
|
||||
if (GST_VIDEO_INFO_FORMAT (vinfo) == GST_VIDEO_FORMAT_ENCODED)
|
||||
if (USE_NATIVE_FORMATS ||
|
||||
GST_VIDEO_INFO_FORMAT (vinfo) == GST_VIDEO_FORMAT_ENCODED)
|
||||
return;
|
||||
|
||||
surface = new_surface (display, vinfo);
|
||||
|
|
Loading…
Reference in a new issue