vaapidecode: log flow error name

https://bugzilla.gnome.org/show_bug.cgi?id=744387
This commit is contained in:
Víctor Manuel Jáquez Leal 2015-02-18 11:21:35 +02:00 committed by Sreerenj Balachandran
parent 481d6b1f25
commit ee0855dc65

View file

@ -390,7 +390,8 @@ error_get_meta:
error_commit_buffer:
{
if (ret != GST_FLOW_FLUSHING)
GST_ERROR("video sink rejected the video buffer (error %d)", ret);
GST_ERROR("video sink rejected the video buffer (error: %s [%d])",
gst_flow_get_name (ret), ret);
gst_video_codec_frame_unref(out_frame);
return ret;
}