Hi my pipeline is as follows filesrc ->myfilter(working in pull mode)->filesink now in my filter i am querying for duration using gst_pad_query_duration(fillter->sinkpad, &fmt, &len); where fmt=GST_FORMAT_BYTES but the query is failing Can anyone please help me in this? Thanks karmendra