Which version of opencv has ability to read GIF file?

still failed. the VideoCapture occurs “(Frame:68385): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion ‘G_IS_DBUS_CONNECTION (connection)’ failed”