High CPU usage decoding 4K 60fps video

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Jul 26 11:59:43 UTC 2022


On Tue, 2022-07-26 at 13:49 +0200, Sergio González wrote:

Hi Sergio,

> `g_object_set(m_avdec, "max-threads", "1", NULL);`

This should be:

   g_object_set(m_avdec, "max-threads", 1, NULL);

or

   gst_util_set_object_arg(G_OBJECT(m_avdec), "max-threads", "1");

Cheers
 Tim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220726/3f81aa79/attachment.htm>


More information about the gstreamer-devel mailing list