summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.decina@collabora.co.uk>2011-11-15 16:55:05 +0100
committerAlessandro Decina <alessandro.decina@collabora.co.uk>2011-11-15 16:55:05 +0100
commit20b4906b10ecf215e8d7878809ef61f7aea09914 (patch)
treedb90b23dd5827e80c0d9ce9bb009bf0bb26b8dd4
parent9cc7bfb81487fd8fcd4354e161484fbe26798e9f (diff)
ducatividdec: don't error out on non fatal errors
If VIDDEC3_process returns a non fatal error, log it but don't return FLOW_ERROR upstream.
-rw-r--r--src/gstducatividdec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gstducatividdec.c b/src/gstducatividdec.c
index 336a772..4b14382 100644
--- a/src/gstducatividdec.c
+++ b/src/gstducatividdec.c
@@ -298,6 +298,8 @@ codec_process (GstDucatiVidDec * self, gboolean send, gboolean flush)
* try to recover.. otherwise return the error
*/
err = XDM_EFAIL;
+ } else {
+ err = XDM_EOK;
}
}