encodebin: Don't try rate adjustment before the first buffer
authorArun Raghavan <arun@arunraghavan.net>
Thu, 8 Jun 2017 07:05:23 +0000 (12:35 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Thu, 8 Jun 2017 07:05:23 +0000 (12:35 +0530)
commit25e0b77bbe596b8f53497d42f3fad4e5870a6d87
tree84d1afb74b61b30f553793b2a40cffe0e2721ad3
parent08525d825d8b1ff319eda7c27fccf4398e93d352
encodebin: Don't try rate adjustment before the first buffer

With both audiorate and videorate, it seems more sensible to apply rate
adjustments after the first buffer appears. For example, with v4l2src,
there is often a small delay before the first video buffer turns up, and
this can cause a stuttery start because of videorate trying to ensure a
perfect stream.
gst/encoding/gstencodebin.c