ffmpegviddec: Return NOT_NEGOTIATED when not configured

This commit is contained in:
Edward Hervey 2012-07-26 12:37:01 +02:00
parent be2eea8a11
commit 9b45987ef5

View file

@ -1234,6 +1234,7 @@ beach:
no_codec:
{
GST_ERROR_OBJECT (ffmpegdec, "no codec context");
*ret = GST_FLOW_NOT_NEGOTIATED;
return -1;
}
}