Re: is avplayer broken?

Steven Robbins <[email protected]> Tue, 08 Nov 2022 01:03:58 -0600
Newsgroups gmane.comp.kde.digikam.devel
Message-ID <13136237.uLZWGnKmhe@riemann>
On Monday, November 7, 2022 1:08:53 A.M. CST Maik Qualmann wrote:
> Crash is now fixed. But the message comes up that no video renderers are
> available.

Thanks!  Indeed no crash.

But the first output is:
    QCoreApplication::arguments: Please instantiate the QApplication object 
first

-- which one can easily fix by moving the declaration to top of main()


The next output is:
    Attribute Qt::AA_UseOpenGLES must be set before QCoreApplication is 
created.

-- this is harder because it comes from set_opengl_backend(), which needs the 
options parsed; however it seems that you need QApplication before parsing the 
options.  (?)
-- but maybe one doesn't need to force the opengl backend (?) I think Qt 
chooses one dynamically?
-- I suppressed it by just removing the call to set_opengl_backend()


After all that, nothing plays because -- as you said -- no video renderers are 
available.

-Steve
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEy89k8fa3rclNjyokyeVeL63I9LkFAmNp/14ACgkQyeVeL63I
9Lk/3xAAn3jYZpX/p3B73lnnHA5zpOit1DzXbjaexRCGHNZKQD1SnfUVaihDX7Qh
1CzfQk0gGj83GSFKa0FtJnPNExia5uvz+povvjgfKq1ye4Mr3uIzkRR1ev8X2i5l
iGKCbq2TPqzqdIy28Oc/Xlf352Ck+eEV4jCkxgviVonQAxpdatNBp7FzwwNO9Eyv
HjPzkEG8FsgLM+EU2uiEn75mOcNLAzFNhzKr64h2kBvwfk8HMQx7Synq4VRHZU2m
t1L2VkZtwcL3eRpzHDrTCveVhVZHlqtIUjQKUw0Gv64mNEVT0YOtS7eyUsfni5ki
eGNlFPZU9HQy+//xJTon1admRYdWiAEJE/VY7t3sQd+3J4npKqa63mJlXAv/Etpm
MQikNp406RHdArEWKfX6UB3dLds5vyoON4R/Gr4FWCYOnLMdJ9cj66Di30f7R3Ma
ig6OP31NW6VngfBgPD+/uqTogaV8TI786S0qFdeCc4a4XDB43JLuZZznaCnZcioL
ZxMD30AXKDA8FvshLM4jO+k3GJyq3JAss9Bc52JmuU8HJ8wesntScDaFMDVD8kE4
7I4C4INYhPPIM8uGPdA9OnTGCXo18s1PdHFXBkuGfmog/q8NDdmUNCWyj/BRnMs/
aSaGqk4koa8QLc8onX7GeUxxWctxH4epxTssumBV3Irv8S0xsvQ=
=CGd7
-----END PGP SIGNATURE-----