Avdec_tiff is not working

Hello there,
I am completely new to GStreamer and I would like to use it in my project as the entire plugin management system matches exactly my requirements.
I have set up a simple pipeline composed of a filesrc, avdec_tiff and autovideosink. And my input is a TIFF image filepath.
When I try executing the pipeline through command line, I get the following error:

ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/avdec_tiff:avdec_tiff0: No valid frames decoded before end of stream

And when I try it through code, I get the following error:

Error: GStreamer error: negotiation problem.
decoder not initialized
error: Internal data stream error