Skip to content

Commit

Permalink
skip dma buffer binding code for windows builds
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Hallade <xavier.hallade@intel.com>
  • Loading branch information
ph0b committed May 15, 2018
1 parent 61f63af commit e51fede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gst/mfx/gstmfxpluginbase.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,12 +748,14 @@ gst_mfx_plugin_base_get_input_buffer (GstMfxPluginBase * plugin,
&outbuf, NULL) != GST_FLOW_OK)
goto error_create_buffer;

#ifdef WITH_LIBVA_BACKEND
if (is_dma_buffer (inbuf)) {
if (!plugin_bind_dma_to_mfx_buffer (plugin, inbuf, outbuf))
goto error_bind_dma_buffer;
plugin->has_ext_dmabuf = TRUE;
goto done;
}
#endif

if (!gst_video_frame_map (&src_frame, &plugin->sinkpad_info, inbuf,
GST_MAP_READ))
Expand Down

0 comments on commit e51fede

Please sign in to comment.