Buffers dropped due to temporal clipping

Sebastian Dröge sebastian at centricular.com
Thu May 22 00:30:46 PDT 2014


On Mi, 2014-05-21 at 11:14 +0530, Yogesh Tyagi wrote:
> Hi,
> 
> In my plugin, I have a convert function in video sink element which is
> checking for temporal clipping in the buffer and drops the buffer if buffer
> duration is outside segment boundaries. Due to temporal clipping, I get
> choppy audio/video or sometimes no audio for some streams.If I disable this
> convert function, streams start plying fine.
>
> [...]
> 
> Is this a must have function for video sink elements?

No, and also GstBaseSink will do that for you already. Is your sink
inheriting from GstBaseSink?

However if buffers are dropped there but should not that would indicate
a problem with the configured segment or the timestamps, and not doing
the clipping would only hide that problem.

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140522/9be74c9f/attachment-0001.sig>


More information about the gstreamer-devel mailing list